会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
八瓣格桑
博客园
首页
新随笔
联系
订阅
管理
2015年12月25日
CodeSign error: no provisioning profile at path '/Users/XXX/Library/MobileDevice/Provisioning Profiles/XXXXXXXX.mobileprovision'
摘要: 新的Xcode 如果更新了provisioning profile文件之后,编译工程时会出现错误:CodeSign error: no provisioning profile at path '/Users/XXX/Library/MobileDevice/Provisioning Profile...
阅读全文
posted @ 2015-12-25 14:37 八瓣格桑
阅读(1912)
评论(0)
推荐(0)
2015年12月3日
关于navigationBar隐藏状态下的StatusBar颜色问题
摘要: 有个很恶心的东西;当你的navigationController.navigationBar是Hidden的时候,用self.navigationController.navigationBar.barStyle = UIStatusBarStyleLightContent;设置是无效的。解决办法是...
阅读全文
posted @ 2015-12-03 23:12 八瓣格桑
阅读(256)
评论(0)
推荐(0)
2015年3月31日
关于"can not find interface declaration for..."错误
摘要: 如果B继承A B中引用了A 也找得到文件 这个时候编译报错:can not find interface declaration for...那么有可能是A中也引用了B 造成的交叉引用错误 ~
阅读全文
posted @ 2015-03-31 16:25 八瓣格桑
阅读(534)
评论(0)
推荐(0)
2015年3月3日
同一个控件多次点击问题
摘要: exclusivetouch
阅读全文
posted @ 2015-03-03 16:53 八瓣格桑
阅读(132)
评论(0)
推荐(0)
2015年2月27日
关于 imageWithContentsOfFile @2x图片显示不出的问题
摘要: [UIImage imageWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"homeIcon@2x" ofType:@"png"]] 这样是OK的[UIImage imageWithContentsOfFile:[[NSBund...
阅读全文
posted @ 2015-02-27 16:20 八瓣格桑
阅读(432)
评论(0)
推荐(0)
2014年12月2日
iOS8 推送注册相关
摘要: registerForRemoteNotificationTypes:isnotsupportediniOS8.0andlater.appDelegate.mdidFinishLaunchingWithOptions:#ifdef__IPHONE_8_0//这里主要是针对iOS8.0,相应的8.1,...
阅读全文
posted @ 2014-12-02 14:33 八瓣格桑
阅读(167)
评论(0)
推荐(0)
2014年10月24日
Xcode6 launchImage设置相关
摘要: 最近在做iPhone6的适配,练习autolayout的Demo运行时发现5s(7.0系统)跑起来屏幕缩小了,像5刚出来时App没适配那样。当时是launchimage加了个5的分辨率图进去就好了,但是又想Xcode6不是要用xib了么?后来网上查了一下才知道:Xcode6 是在launchImag...
阅读全文
posted @ 2014-10-24 14:20 八瓣格桑
阅读(504)
评论(0)
推荐(0)
2014年10月23日
Xcode用autolayout但是找不到Constraints的问题
摘要: Select the ViewController then from the XCode menu:Editor --> Resolve Auto Layout issues --> Add missing constraints in View Controller或者storyboard 右下...
阅读全文
posted @ 2014-10-23 15:40 八瓣格桑
阅读(631)
评论(0)
推荐(0)
2014年10月20日
iOS 8 通知设置页找不到App的问题
摘要: 用Xcode6运行会发现log提示:registerForRemoteNotificationTypes:isnotsupportediniOS8.0andlateriOS8haschangednotificationregistrationinanon-backwardscompatibleway...
阅读全文
posted @ 2014-10-20 13:48 八瓣格桑
阅读(694)
评论(0)
推荐(0)
公告