摘要:转自: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
阅读全文
摘要:view.frame = CGRectOffset(view.frame,0, -128);
阅读全文
摘要:转自: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...
阅读全文
摘要:转自: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...
阅读全文