2015年2月5日

摘要: 按照友盟的步骤来这句话先不用管它,因为开通需要证书,你没有证书的话,开通不了。开始集成代码到了这句话,推送的基本功能已经集成完成了。直接跳到这里按照友盟说的做,知道最后。之后来到配置证书没有App ID的话,按照友盟步骤来说下bundle ID一定要和xcode中的一样。后半部分复制不了,那就手填上... 阅读全文
posted @ 2015-02-05 22:03 rankilau 阅读(275) 评论(0) 推荐(1) 编辑

2015年2月2日

摘要: 当一个cell中放入一个conllectionView,重用cell的时候,conllectionView也重用,gif图片加载不出来。解决办法,在cell的louyautSubviews方法中刷新conllectionView,[self.collectionView reloadData]; 阅读全文
posted @ 2015-02-02 16:25 rankilau 阅读(230) 评论(0) 推荐(0) 编辑
摘要: 百度地图,实现功能一般流程,1实例化功能对象(如定位,实例化BMKLocationService)2执行方法(startUserLocationService开始定位)3回调结果(- (void)didUpdateBMKUserLocation:(BMKUserLocation *)userLoca... 阅读全文
posted @ 2015-02-02 16:24 rankilau 阅读(215) 评论(0) 推荐(0) 编辑

2015年1月26日

摘要: sqlite3是一个可以放在工程中的本地数据库,其大小几百k,通过对c语言的封装,sqlite3有自己的语句对数据库中的数据进行处理,一般应用在对数据进行复杂处理的app中。/*简单约束*/CREATE TABLE IF NOT EXISTS t_student(id INTEGER PRIMARY... 阅读全文
posted @ 2015-01-26 23:06 rankilau 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 请求参数phonestring手机号passwordstring密码grant_typestring固定为"password"scopestring可选项client_idstring客户端 idclient_infostring客户端设备信息,统计使用返回参数access_tokenstring... 阅读全文
posted @ 2015-01-26 17:53 rankilau 阅读(288) 评论(0) 推荐(0) 编辑
摘要: ios5以上的app,都可以用此方法。- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions{ NSArray *Paths=NSSea... 阅读全文
posted @ 2015-01-26 17:11 rankilau 阅读(622) 评论(0) 推荐(0) 编辑

2015年1月25日

摘要: 需求:一个300*500的图片(长*宽),放在200*200,的控件上。问题:如果不经过设置,直接放在控件上,图片会被压扁失真。而加上了[cell.imageView setContentMode:UIViewContentModeScaleAspectFill];,tableView的第一个cel... 阅读全文
posted @ 2015-01-25 00:08 rankilau 阅读(248) 评论(0) 推荐(0) 编辑

2015年1月23日

摘要: 问题描述:我的db 图片 MP3 文件 当用户启动app的时候都把它们拷贝到/Documents 目录下 这样貌似不行。In particular, we found that on launch and/or content download, your app stores 2.02 MB. T... 阅读全文
posted @ 2015-01-23 00:17 rankilau 阅读(1092) 评论(0) 推荐(0) 编辑

2015年1月21日

摘要: ASI框架为MRC,放在ARC中不兼容,会报错。解决方法如下:1、选择TARGETS,然后选择Build Phases2、展开Compile Sources3、在所有ASIHttpRequest相关的文件后面的Compiler Flags中加入编译选项:-fno-objc-arcASIHTTPReq... 阅读全文
posted @ 2015-01-21 23:55 rankilau 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 1 阅读全文
posted @ 2015-01-21 18:44 rankilau 阅读(67) 评论(0) 推荐(0) 编辑

导航