Step1 1.点击Image.xcassets 进入图片管理,然后右击,弹出"New Launch Image" 2.如图,右侧的勾选可以让你选择是否要对ipad,横屏,竖屏,以及低版本的ios系统做支持.这边我选了ios8.0,ios7.0,ios6没有做支持. Step2 将...
分类:
移动开发 时间:
2015-07-14 20:54:44
阅读次数:
299
在XCode7 Beta下如果使用iOS8.4版的真机进行调试,XCode会提示:“Could not find Developer Disk Image”解决方法:如果你有XCode6.4版,进入/Applications/Xcode.app/Contents/Developer/Platform...
分类:
移动开发 时间:
2015-07-13 06:27:54
阅读次数:
139
IOS tableview 消除 分割线短 15 像素 ios8方法 swift版
分类:
移动开发 时间:
2015-07-13 00:46:11
阅读次数:
390
//iOS8之后 需要注册通知类型 包含哪些(声音,图标文字,文本) 信息 /* UIUserNotificationTypeNone = 0, UIUserNotificationTypeBadge = 1 << 0, 包含图标文字 0001 UIUserNotificationT...
分类:
其他好文 时间:
2015-07-11 22:39:33
阅读次数:
162
在iOS8的UIActionSheet被废弃,我们在实现UIActionsheet时会选择用UIAlertController来实现。本篇博文将会实现UIAlertView实现UIactionSheet效果。...
分类:
编程语言 时间:
2015-07-11 09:18:12
阅读次数:
279
ios8之前 注册通知的方法是 [application registerForRemoteNotificationTypes:UIRemoteNotificationTypeAlert|UIRemoteNotificationTypeSound|UIRemoteNotification...
分类:
移动开发 时间:
2015-07-10 14:48:58
阅读次数:
112
先在viewdidload里面写上
if ([ self.myTableView respondsToSelector:@selector(setSeparatorInset:)]) {
[self.myTableView setSeparatorInset:UIEdgeInsetsZero];
}
if ([self.myTableView res...
分类:
移动开发 时间:
2015-07-09 16:08:55
阅读次数:
140
WKWebView 是IOS8新增的 Web浏览视图
优点: 加载速度 比UIWebView提升差不多一倍的, 内存使用上面,反而还少了一半。
缺点: WKWebView 不支持缓存 和 NSURLProtocol 拦截了
我建议如果对缓存不高的页面可以使用,用户体验会提高很多。
由于项目中以前都是用 UIWebView 而且还要兼容 IOS8...
分类:
Web程序 时间:
2015-07-09 13:21:12
阅读次数:
531
好久没接入UILocalNotification了,今天接入时发现没有权限启动通知。
错误如下:Attempting to schedule a local notification {fire date = (null), time zone = (null), repeat interval = 0, repe...
分类:
移动开发 时间:
2015-07-09 00:54:44
阅读次数:
116
在iOS7之前的弹窗都是使用的传统的UIAlertView,代码如下://创建弹框 UIAlertView *alertView = [[UIAlertView alloc]initWithTitle:@"提示" message:@"输入的数字不合理" delegate:nil cancelBut....
分类:
移动开发 时间:
2015-07-09 00:42:26
阅读次数:
183