我有UITabBarController,其中一个标签是Camera Tab。
Camera Tab的控制器是TakePhotoViewController。在TakePhotoViewController
中- (void)viewDidLoad
{
[super viewDidLoad];
// Do any additional setup after loading the view from its nib.
CameraViewController *controller = [[CameraViewController alloc] initWithNibName:@"CameraViewController" bundle:nil];
[self presentViewController:camController animated:YES];
}
当我关闭相机时,它不再起作用了。我想随时打开相机,但是当我触摸相机标签时它才第一次运行。我该如何解决?
谢谢,Mert