linyawen

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2012年6月5日

摘要: The steps that occur during the load cycle are as follows:Some part of your application asks for the view in the view controller’sviewproperty.If the view is not currently in memory, the view controller calls itsloadViewmethod.TheloadViewmethoddoes one of the following:●If you override this method, 阅读全文
posted @ 2012-06-05 21:21 linyawen 阅读(166) 评论(0) 推荐(0) 编辑

摘要: 转自http://blog.sina.com.cn/s/blog_6d01cce301013h5n.html曾经有人这么说过,在iphone里你看到的,摸到的,都是UIView,所以UIView在iphone开发里具有非常重要的作用。那么UIView我们到底知道多少呢。请看看下面的问题,如果这些你都知道,那么本文章的内容就请绕道,如果你还不太清楚,我想看了下面的内容,你就明白了。1.bounds和frame分别表示什么?2.ContentMode里UIViewContentModeScaleToFill代表什么?3.contentStretch 里的指定UIView里缩放区域是如何计算的?4. 阅读全文
posted @ 2012-06-05 02:42 linyawen 阅读(324) 评论(0) 推荐(1) 编辑