05 2015 档案
摘要://通过imageView播放动画 //1.创建一个imageView UIImageView *imageView = [[UIImageView alloc] init]; imageView.frame = CGRectMake(0, 0, 320, 480); ...
阅读全文
摘要:UILabel *left = [[UILabel alloc] init]; left.text = @" Sent when the application is about to move from active to inactive state."; left....
阅读全文
摘要:UILabel *label = [[UILabel alloc] init]; //根据内容动态计算label的高度 label.text = @"Sent when the application is about to move from active to ina...
阅读全文
摘要:CGFloat width = 40; CGFloat height = 40; //获取屏幕宽高 //获取屏幕对象 UIScreen *screen = [UIScreen mainScreen]; //获取屏幕大小 CGRect screenF...
阅读全文
摘要:#import "QFAppDelegate.h"@implementation QFAppDelegate//最后一个执行的初始化函数//主要做一些启动之前的初始化操作- (BOOL)application:(UIApplication *)application didFinishLaunchi...
阅读全文

浙公网安备 33010602011771号