会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
AllenChan
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
2015年3月7日
iOS 8 中 新特性简介
摘要: 地址:https://developer.apple.com/library/prerelease/ios/releasenotes/General/iOS80APIDiffs/index.html#//apple_ref/doc/uid/TP40014455
阅读全文
posted @ 2015-03-07 08:51 AllenChan
阅读(130)
评论(0)
推荐(0)
2015年2月28日
IOS8 中打开系统设置
摘要: 在IOS8 中 可以这样打开系统设置:[[UIApplication sharedApplication] openURL:[NSURL URLWithString:UIApplicationOpenSettingsURLString]];但是在ios8 以下是不能的,会导致闪退;
阅读全文
posted @ 2015-02-28 12:48 AllenChan
阅读(208)
评论(0)
推荐(0)
2015年2月14日
AudioSession详解 Category选择 听筒扬声器切换
摘要: 选择一个CategoryAVAudioSessionCategoryAmbient或kAudioSessionCategory_AmbientSound——用于非以语音为主的应用,使用这个category的应用会随着静音键和屏幕关闭而静音。并且不会中止其它应用播放声音,可以和其它自带应用如iPod,...
阅读全文
posted @ 2015-02-14 15:44 AllenChan
阅读(551)
评论(0)
推荐(0)
2015年1月21日
iOS 关于单例那点事
摘要: 一、单例是什么二、为什么要用单例三、单例怎么用
阅读全文
posted @ 2015-01-21 12:52 AllenChan
阅读(124)
评论(0)
推荐(0)
2015年1月19日
iOS 生成开发文档
摘要: 2015 继续努力有3种方式生成开发文档:介绍其中一种利用 appledoc 生成一、安装appledoc打开终端在命令行里面:git clone git://github.com/tomaz/appledoc.gitcd ./appledocsudo sh install-appledoc.sh安...
阅读全文
posted @ 2015-01-19 16:48 AllenChan
阅读(252)
评论(0)
推荐(0)
2014年8月1日
iOS 开发 关于应用中使用拨打电话那点事
摘要: 一、利用openURL(tel)特点: 直接拨打, 不弹出提示。IOS 7 不能回到应用的。IOS 8 中能回到应用本身- (void)callPhone:(NSString *)phoneNumber{//phoneNumber = "18369......"NSMutableString * s...
阅读全文
posted @ 2014-08-01 15:40 AllenChan
阅读(322)
评论(0)
推荐(0)
2014年5月9日
(转)IOS App中揉合讯飞SDK功能详细
摘要: 转至:http://www.sufeinet.com/thread-2488-1-1.html如何使用讯飞的语音SDK加入到你的iPhone应用中吧!1.首先请先到讯飞官方网站的开发者专区(http://open.voicecloud.cn/developer.php)。如果你还没有注册,那么需要先...
阅读全文
posted @ 2014-05-09 15:43 AllenChan
阅读(664)
评论(0)
推荐(0)
2014年4月10日
刷新列表的某一行
摘要: NSIndexPath*indexPath_1=[NSIndexPathindexPathForRow:1inSection:0];NSArray*indexArray=[NSArrayarrayWithObject:indexPath_1];[myTableViewreloadRowsAtIndexPaths:indexArraywithRowAnimation:UITableViewRowAnimationAutomatic];
阅读全文
posted @ 2014-04-10 14:02 AllenChan
阅读(242)
评论(0)
推荐(0)
2014年4月8日
IOS 7.1 中 状态栏 隐藏
摘要: 方法 1在项目的plist中 添加 2 项首先设置key:Status bar is initially hidden 为YES然后设置key:View controller-based status bar appearance 为NO方法 2 在 viewController 子类中添加 if ([self respondsToSelector:@selector(setNeedsStatusBarAppearanceUpdate)]) { // iOS 7 [selfprefersStatusBarHidden]; [self performSelector:@sel...
阅读全文
posted @ 2014-04-08 14:30 AllenChan
阅读(287)
评论(0)
推荐(0)
上一页
1
2
公告