摘要: 1.换颜色 CGRect frame = CGRectMake(0, 0, 320, 47);UIView *v = [[UIView alloc] initWithFrame:frame];UIColor *c = [[UIColoralloc] initWithRed:0.4green:0.7blue:0.3alpha:1.0]; v.backgroundColor = c;[tabBarController.tabBarinsertSubview:v atIndex:0];2.换图片UIImageView* image = [[UIImageViewalloc] initWithIm.. 阅读全文
posted @ 2012-03-06 15:44 凡娃软件 阅读(386) 评论(0) 推荐(0) 编辑
摘要: //匹配titlestring reg="<td class=\"odd\">(?<Title>[\\s\\S]).*?)<td>";//匹配tiitle与value//string reg ="<td class=\"odd\">(?<Title>[\\s\\S]).*?)<td>([^<])<td class=\"value\">(?<Value>[\\s\\S].*?)</td>&quo 阅读全文
posted @ 2012-03-06 12:00 凡娃软件 阅读(628) 评论(0) 推荐(0) 编辑
摘要: - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions{ self.window = [[UIWindowalloc] initWithFrame:[[UIScreenmainScreen] bounds]]; self.window.backgroundColor = [UIColorwhiteColor]; //生成各个视图控制器 MedicalData* aa = [[MedicalDataalloc]init]; ... 阅读全文
posted @ 2012-03-06 09:56 凡娃软件 阅读(2553) 评论(0) 推荐(0) 编辑