Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/iphone/40.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/objective-c/27.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Iphone 移动到另一个笔尖时的动画_Iphone_Objective C_Presentmodalviewcontroller - Fatal编程技术网

Iphone 移动到另一个笔尖时的动画

Iphone 移动到另一个笔尖时的动画,iphone,objective-c,presentmodalviewcontroller,Iphone,Objective C,Presentmodalviewcontroller,我使用此代码从一个类移动到另一个类。我不使用UINavBarController。我可以在更改笔尖时使用另一个动画吗 FormViewController *formViewController =[[FormViewController alloc]initWithNibName:@"FormViewController" bundle:nil]; formViewController.userImage=imageFb; [self presentModalViewController:f

我使用此代码从一个类移动到另一个类。我不使用UINavBarController。我可以在更改笔尖时使用另一个动画吗

 FormViewController *formViewController =[[FormViewController alloc]initWithNibName:@"FormViewController" bundle:nil];
formViewController.userImage=imageFb;
[self presentModalViewController:formViewController animated:YES];
看看这个方法

如果您支持的iOS 5以下版本,可以查看以下方法:


我可以用这个发送参数吗?我的例子中的imageFb?请不要举个例子?我开始了。它写着“在iOS 5.0和更高版本中可用”。你不是在为iOS 5开发吗?我希望我的应用程序工作,我希望我的应用程序同时在iOS 4和5上运行。这并不理想?我添加了一些关于支持低于iOS 5的信息。您的控制器灵活性较低,但希望有一个您想要的过渡。