(ios实战)单个ViewControl适配不同ios版本xib文件实现
摘要:        
xcode5 中的界面布局 根据sdk 分成ios7.0 and Later 和 ios6.1 and Earlier 两种,那如何xib同时支持 ios6 和ios7 的界面呢方法如下:在xcode5 中分别创建两个 xib文件 和对应的ViewControl关联, 这两个xib文件一个支持ios6 一个支持ios7在跳转本界面时,在代码里面实现如下: float systemVersion = [[[UIDevice currentDevice] systemVersion] floatValue]; if (systemVersion >= 7.0) { ...    阅读全文
        posted @ 2013-09-22 23:04 狗尾草-大数据收割基 阅读(8492) 评论(1) 推荐(1)
 
                    
                     
                    
                 
                    
                 
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号