-(IBAction)goFlipSIDe { NSLog(@"goFlipSIDe has been called:"); FlipsIDeVIEwController *controller = [[FlipsIDeVIEwController alloc] initWithNibname:@"FlipsIDeVIEwController" bundle:nil]; controller.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal; [self presentVIEwController:controller animated:YES]; [controller release];}- (voID)flipsIDeVIEwControllerDIDFinish:(FlipsIDeVIEwController *)controller { [self dismissVIEwControllerAnimated:YES]; //This method gets fired when the user clicks done on the modal FlipsIDeVIEwController. This is different //than the vIEwWillAppear. self.navigationController.navigationbarHIDden = TRUE; /* if (self.goVIEwSuccess == TRUE) { //if the goVIEwSuccess boolean is set to YES - then we can load the load the goVIEwController NSLog(@"goVIEwSuccess is YES"); [self loadGoVIEwController]; } */}
找不到两个实例方法:presentVIEwController:和dismissVIEwControllerAnimated:.
解决方法 什么课是自我?这些方法只能在UIVIEwController上找到.完整的选择器是:> presentVIEwController:animated:completion:
> dismissVIEwControllerAnimated:完成:
尝试添加完成块参数.
总结以上是内存溢出为你收集整理的ios – 未找到实例方法’-presentViewController:animated’全部内容,希望文章能够帮你解决ios – 未找到实例方法’-presentViewController:animated’所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)