摘要: UILabel *label = [[UILabel alloc] init]; //根据内容动态计算label的高度 label.text = @"Sent when the application is about to move from active to ina... 阅读全文
posted @ 2015-05-11 23:59 热血博 阅读(509) 评论(0) 推荐(0) 编辑
摘要: CGFloat width = 40; CGFloat height = 40; //获取屏幕宽高 //获取屏幕对象 UIScreen *screen = [UIScreen mainScreen]; //获取屏幕大小 CGRect screenF... 阅读全文
posted @ 2015-05-11 23:45 热血博 阅读(231) 评论(0) 推荐(0) 编辑
摘要: #import "QFAppDelegate.h"@implementation QFAppDelegate//最后一个执行的初始化函数//主要做一些启动之前的初始化操作- (BOOL)application:(UIApplication *)application didFinishLaunchi... 阅读全文
posted @ 2015-05-11 23:24 热血博 阅读(154) 评论(0) 推荐(0) 编辑