私は写真撮影に使用するUIImagePickerController(ソースタイプのカメラ)を持っています。私はそれを私の.h(@propertyを加えたもの)と.m(@synthesize)に適切に入れました。ここに私がそれを示すために使用しているもの:UIImagePickerControllerのカメラボタンがランダムに消されます
if (thePicker == nil) {
thePicker = [[UIImagePickerController alloc] init];
thePicker.delegate = self;
thePicker.sourceType = UIImagePickerControllerSourceTypeCamera;
thePicker.allowsEditing = NO;
}
[self presentModalViewController:thePicker animated:YES];
私は奇妙な問題があります。カメラボタンや使用済みボタンは、何度も何回か閉じたり開いたりした後では機能しません(ただし、取り戻しボタンとキャンセルボタンは機能します)。私はメモリの警告を取得していないと私はdeallocとdidReceiveMemoryWarnings voidステートメントがありますが、彼らは呼び出されません。
他にもこの問題がありますか?
あなたはレーダーを提出していますか? – CodaFi