Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/objective-c/24.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 在uinavigation controller中从下至上推视图_Iphone_Objective C_Xcode - Fatal编程技术网

Iphone 在uinavigation controller中从下至上推视图

Iphone 在uinavigation controller中从下至上推视图,iphone,objective-c,xcode,Iphone,Objective C,Xcode,我正在使用UINavigation控制器。当我按视图时,它从右向左。我要从下往上看。如何做到这一点。提前感谢。[self.navigationController presentModalViewController:animated:]; [self.navigationController presentModalViewController:<#(UIViewController *)modalViewController#> animated:<#(BOOL)anima


我正在使用UINavigation控制器。当我按视图时,它从右向左。我要从下往上看。如何做到这一点。提前感谢。

[self.navigationController presentModalViewController:animated:];
[self.navigationController presentModalViewController:<#(UIViewController *)modalViewController#> animated:<#(BOOL)animated#>];

如果你只使用简单的按钮设计,那么你可以使用动作表,就像我们在书签部分中使用的那样,t从下到上。

这并不能回答@Aravindhanavi的问题,因为它不使用UINavigationController。如果我使用了presentModalViewController,则意味着导航栏消失。。如何解决这个可能的重复:我想你正在寻找目前的ModalViewController