
谢谢
解决方法 我认为神奇的咒语如下:myVIEwController = ..... create your new controller if needed ....myVIEwController.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;myVIEwController.modalPresentationStyle = UIModalPresentationFormSheet;// "self" here is a VIEwController instance[self presentModalVIEwController:myVIEwController animated:YES]
我似乎记得,在肖像中,模态接管了屏幕;在景观中,它将以视图为中心呈现.
@H_301_2@ 总结以上是内存溢出为你收集整理的cocoa-touch – 使用modalPresentationStyle显示视图全部内容,希望文章能够帮你解决cocoa-touch – 使用modalPresentationStyle显示视图所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)