会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
小小磊
博客园
首页
新随笔
联系
管理
订阅
2015年12月12日
出现CUICatalog: Invalid asset name supplied:
摘要: 出现CUICatalog: Invalid asset name supplied:的原因是[UIImage imageNamed:@" "];你的资源名无效
阅读全文
posted @ 2015-12-12 11:18 小小磊
阅读(239)
评论(0)
推荐(0)
2015年11月24日
极光的错误返回码 留着没准什么时候用上了现查费劲
摘要:
阅读全文
posted @ 2015-11-24 14:55 小小磊
阅读(311)
评论(0)
推荐(0)
2015年11月16日
记录 点击推送进入app 直接进入某个页面
摘要: 在appdelegate中判断是否是从推送进入的app 如果是就把消息的内容用NSNotification注册一个通知 然后去首页 接收这个通知判断消息内容 并且跳转到该页面 曾经难住的是在首页有一个跳转延时 导致的跳转不过去 如果不成功就加一个延迟让通知延迟0.5秒左右接收 时间看实际情况 恩就先...
阅读全文
posted @ 2015-11-16 18:33 小小磊
阅读(585)
评论(0)
推荐(0)
含scrollView上控件坐标偏移量
摘要: - (void)scrollViewWillEndDragging:(UIScrollView *)scrollView withVelocity:(CGPoint)velocity targetContentOffset:(inout CGPoint *)targetContentOffset{ ...
阅读全文
posted @ 2015-11-16 18:17 小小磊
阅读(277)
评论(0)
推荐(0)
iOS logo图片尺寸 和加载页尺寸(加载页仅iPhone)
摘要: 主要看images.xcassets中Applcon里面下面的pt 2x就是tp*2以此类推加载页尺寸为iPhone Portrait iOS 8-Retina HD 5.5 (1242×2208) @3xiPhone Portrait iOS 8-Retina HD 4.7 (750×1334) ...
阅读全文
posted @ 2015-11-16 18:12 小小磊
阅读(585)
评论(0)
推荐(0)
2015年11月14日
三级展开框的制作 未仔细测试有无bug
摘要: 1. .m内容#import "XLTableView.h"#import "XLTableViewCell.h"#import "PowerPictureViewController.h"@interface XLTableView ()@property (nonatomic ,strong) ...
阅读全文
posted @ 2015-11-14 14:35 小小磊
阅读(166)
评论(0)
推荐(0)
用 UIPickerView 自定义年,月选取框
摘要: 1.首先要遵守UIPickerViewDataSource, UIPickerViewDelegate 这两个协议2.所需要的对象@property (nonatomic ,strong) NSMutableArray *year_Array;@property (nonatomic ,strong...
阅读全文
posted @ 2015-11-14 14:30 小小磊
阅读(740)
评论(0)
推荐(0)
UITableViewCell的两种获取indexPath的方法
摘要: 1. 通过叫Point获取 CGPoint correctedPoint = [textField convertPoint:textField.bounds.origin toView:self.tableView]; NSIndexPath *indexPath = [self.table...
阅读全文
posted @ 2015-11-14 13:40 小小磊
阅读(1199)
评论(0)
推荐(0)
公告