码迷,mamicode.com
首页 > 其他好文 > 详细

Model View Controller

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

标签:style   io   os   sp   for   on   bs   ad   ef   

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

标签:style   io   os   sp   for   on   bs   ad   ef   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!