上一页 1 ··· 83 84 85 86 87 88 89 90 91 ··· 97 下一页

2015年10月13日

iOS官方文档阅读 基本格式指北

摘要: 一些关键词作用 NS_AVAILABLE 表示可用 如 NS_AVAILABLE(NA, 6_0);例如上面这句就是表示 该方法在6.0系统后可用 如果在6.0以下的系统用不了的 或者直接崩溃. NS_DEPRECATED 表示弃用 如 NS_CLASS_DEPRECATED_IOS(4_0, 10 阅读全文

posted @ 2015-10-13 20:21 🌞Bob 阅读(236) 评论(0) 推荐(0) 编辑

iOS实现地图半翻页效果--老代码备用参考

摘要: // Curl the image up or downCATransition*animation = [CATransitionanimation];[animationsetDuration:0.35];[animationsetTimingFunction:UIViewAnimationCu... 阅读全文

posted @ 2015-10-13 20:19 🌞Bob 阅读(299) 评论(0) 推荐(0) 编辑

AVQueuePlayer

摘要: 想要视频一个接一个的无缝连续播放么? 还在用mpmovieplayercontroller么?out了! 介绍一个可以实现无缝连续播放视频的东西-------AVQueuePlayer ! AVQueuePlayer 是苹果最新推出的一个神器,支持多视频播放,无敌了!之前被无缝播放折磨了大半天,后来 阅读全文

posted @ 2015-10-13 20:17 🌞Bob 阅读(447) 评论(0) 推荐(0) 编辑

ios音频视频资料--

摘要: 视频播放 MediaPlayer.framework MPMoviePlayerViewController VS MPMoviePlayerController MPMoviePlayerViewController MPMoviePlayerController 版本支持 Available i 阅读全文

posted @ 2015-10-13 20:16 🌞Bob 阅读(247) 评论(0) 推荐(0) 编辑

ios coredata 老代码备用参考

摘要: iPhone OS在2009年6月份推出3.0版本SDK,其中一个特性是引入了Mac SDK中的core data。是一种ORM(Object Relationships Mapping)解决方案,类似java的Hibernate。有了这个,就不必像ios简单sqlite使用那样编写繁琐代码了,减少... 阅读全文

posted @ 2015-10-13 20:13 🌞Bob 阅读(265) 评论(0) 推荐(0) 编辑

uitableviewcell 自适应大小 参考

摘要: - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath {// 列宽CGFloat contentWidth = self.tableView.frame.size.... 阅读全文

posted @ 2015-10-13 20:10 🌞Bob 阅读(240) 评论(0) 推荐(0) 编辑

触发UIButton长按事件

摘要: UIButton*aBtn=[UIButtonbuttonWithType:UIButtonTypeCustom];[aBtnsetFrame:CGRectMake(40,100,60,60)];[aBtnsetBackgroundImage:[UIImageimageNamed:@"111.png... 阅读全文

posted @ 2015-10-13 20:00 🌞Bob 阅读(572) 评论(0) 推荐(0) 编辑

Objective-c开发中混合使用ARC

摘要: 首选“Compile Sources”的位置:选中工程->TARGETS->相应的target然后选中右侧的“Build Phases”,向下就找到“Compile Sources”了。如何在未使用arc的工程中引入一个使用了arc特性的文件:对相应的文件添加:-fobjc-arc参数如何在arc工... 阅读全文

posted @ 2015-10-13 19:21 🌞Bob 阅读(167) 评论(0) 推荐(0) 编辑

ios短信和电话--参考

摘要: 调用打电话功能[[UIApplicationsharedApplication] openURL:[NSURL URLWithString:@"tel://10086"]];调用发短信功能[[UIApplication sharedApplication]openURL:[NSURL URLWith... 阅读全文

posted @ 2015-10-13 19:20 🌞Bob 阅读(154) 评论(0) 推荐(0) 编辑

ios阻止锁屏 --老代码,供参考

摘要: // Disable the idle timer[[UIApplication sharedApplication]setIdleTimerDisabled:YES]; // Or for those who prefer dot syntax:[UIApplication sharedAppli... 阅读全文

posted @ 2015-10-13 19:18 🌞Bob 阅读(278) 评论(0) 推荐(0) 编辑

上一页 1 ··· 83 84 85 86 87 88 89 90 91 ··· 97 下一页

导航