上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 41 下一页
摘要: AVSpeechSynthesizer *syn = [[AVSpeechSynthesizer alloc]init]; AVSpeechUtterance *utter = [[AVSpeechUtterance alloc]initWithString:@"hello"]; [syn speakUtterance:utter]; 阅读全文
posted @ 2015-08-01 16:40 Emyin 阅读(131) 评论(0) 推荐(0) 编辑
摘要: [self.navigationController setNavigationBarHidden:YES animated:NO]; hidesBottomBarWhenPushed 阅读全文
posted @ 2015-08-01 14:01 Emyin 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 输出helloWorld 阅读全文
posted @ 2015-08-01 12:03 Emyin 阅读(171) 评论(0) 推荐(0) 编辑
摘要: type类型有: 阅读全文
posted @ 2015-07-31 22:32 Emyin 阅读(152) 评论(0) 推荐(0) 编辑
摘要: iOS9新出现的 /** Subclass for mass-spring animations. */ @interface CASpringAnimation : CABasicAnimation /* The mass of the object attached to the end of 阅读全文
posted @ 2015-07-31 18:29 Emyin 阅读(147) 评论(0) 推荐(0) 编辑
摘要: // 1.设置动画时长 self.imageContainer.animationDuration = 5; // 2.设置动画重复次数 self.imageContainer.animationRepeatCount = 1; // 3.开始动画 [self.imageContainer star 阅读全文
posted @ 2015-07-31 17:57 Emyin 阅读(176) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2015-07-31 16:29 Emyin 阅读(7) 评论(0) 推荐(0) 编辑
摘要: // NSURL *url = [NSURL URLWithString:@"tel://10010"]; //打电话 NSURL *url = [NSURL URLWithString:@"sms://10010"]; //发短信 [[UIApplication sharedApplication] openURL:url]; 阅读全文
posted @ 2015-07-30 18:38 Emyin 阅读(101) 评论(0) 推荐(0) 编辑
摘要: - (void)viewDidLoad { [super viewDidLoad]; UIScrollView *scrollView = [[UIScrollView alloc] init]; scrollView.frame = self.view.bounds; scrollView.delegate = self; [scrollVie... 阅读全文
posted @ 2015-07-30 16:35 Emyin 阅读(346) 评论(0) 推荐(0) 编辑
摘要: // 该方法在类被引用的时候就会调用一次,仅会调用一次 + (void)initialize { // 1.获取全局的统一样式的导航栏 UINavigationBar *bar = [UINavigationBar appearance]; [bar setBackgroundImage:[UIImage imageNamed:@"NavBar64"] forBarMet... 阅读全文
posted @ 2015-07-26 19:18 Emyin 阅读(156) 评论(0) 推荐(0) 编辑
上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 41 下一页