1、iOS獲取系統(tǒng)版本號绅项,[[[UIDevice currentDevice] systemVersion] floatValue];
2、其中xxx.app就是我們的app應用程序比肄,主要包含了執(zhí)行文件(xxx.app/xxx快耿, xxx為應用名稱)、NIB和圖片等資源文件
3芳绩、關(guān)于ios中的setNeedsDisplay和setNeedsLayout
http://blog.sina.com.cn/s/blog_a573f7990101cdpe.html
4掀亥、UIScrollView的contentSize是根據(jù)控件數(shù)來控制的,如果在contentSize問題上是OK的妥色,那就是控件的frame以及父控件frame的問題搪花,從這兩個方面入手基本就沒問題了。
5嘹害、UISrcollView不像UIView那么純潔撮竿,里面還有一些其他的控件,還有兩個UIImgaeView
**2016-01-19 17:45:09.084 ****圖說第三版****[2386:1513322]
<UIImageView: 0x79e43620; frame = (310 27.5; 7 2.5); alpha = 0; opaque = NO; autoresize = TM; userInteractionEnabled = NO; layer = <CALayer: 0x79e43750>>**
**2016-01-19 17:45:09.084 ****圖說第三版****[2386:1513322]
<UIImageView: 0x79e43b40; frame = (314.5 23; 2.5 7); alpha = 0; opaque = NO; autoresize = LM; userInteractionEnabled = NO; layer = <CALayer: 0x79e43c70>>**
6笔呀、self.view.bounds.size.height - 64其實是在上次的初始值的基礎(chǔ)上再減64幢踏,比說說一開始為480(iPhone 4s)- 64,在self.view.bounds.size.height - 10時许师,就是self.view.bounds.size.height - 64 - 10
self.view.bounds.size.height是一個靜態(tài)變量