首页 > 其他 > 详细

Model View Controller

时间:2014-12-16 15:00:08      阅读:257      评论:0      收藏:0      [点我收藏+]

On the iPhone or iPod touch, a modal view controller takes over the entire screen. This is the default
behavior and the only possibility on these devices. On the iPad, you have two additional options: a
form sheet style and a page sheet style. You can change the presentation of the modal view controller
by setting its modalPresentationStyle property to a pre-defined constant –
UIModalPresentationFormSheet or UIModalPresentationPageSheet.

 

The form sheet style shows the modal view controller’s view in a rectangle in the center of the iPad’s
screen and dims out the presenting view controller’s view. 

The page sheet style is the same as the default full-screen style in portrait mode. In landscape mode, it
keeps its width the same as in portrait mode and dims the left and right edges of the presenting view
controller’s view that stick out behind it.

 

Model View Controller

原文:http://www.cnblogs.com/playerken/p/4167057.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!