10 2013 档案

iphone调用系统电话、浏览器、地图、邮件等
摘要:转自:http://helloios.diandian.com/post/2011-10-31/6387190openURL的使用方法:[[UIApplication sharedApplication] openURL:[NSURL URLWithString:appString]];其中系统的appString有:1.Map http://maps.google.com/maps?q=Shanghai2.Email mailto://myname@google.com3.Tel tel://100864.Msg sms://10086openURL能帮助你运行Maps,SMS,Browse 阅读全文

posted @ 2013-10-31 10:35 几百人有爱 阅读(171) 评论(0) 推荐(0) 编辑

移动UIView的坐标
摘要:view.frame = CGRectOffset(view.frame,0, -128); 阅读全文

posted @ 2013-10-30 10:29 几百人有爱 阅读(85) 评论(0) 推荐(0) 编辑

UIView大小缩放的动画效果函数
摘要:转自:http://blog.sina.com.cn/s/blog_9bf272cf01015i9b.htmlUIView *singleMapView = [[UIView alloc] initWithFrame:CGRectMake(10, 150, 300, 250)]; singleMapView.backgroundColor = [UIColor blackColor]; [self.view addSubview:singleMapView]; singleMapView.transform = CGAf... 阅读全文

posted @ 2013-10-18 15:15 几百人有爱 阅读(543) 评论(0) 推荐(0) 编辑

iOS学习:UILabel和sizeWithFont方法,可用于动态调整UILabel大小
摘要:转自:http://www.cnblogs.com/zouzf/archive/2012/11/21/2780040.html- (void)viewDidLoad{ [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. NSString *text = @"tw ia nwifei xantianwif eixan tianwi feixan"; //设置字体,包括字体及其大小 UIFont *font = [UI... 阅读全文

posted @ 2013-10-18 14:14 几百人有爱 阅读(566) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示