- 博客(10)
- 收藏
- 关注
原创 文网文证书的apple store审核
文网文证书上有一个二维码,但是浙江的文网文证书扫描出来的链接是zjwh什么域名的(这里真是巨坑啊!!!),其实应该扫描出来这样的一个域名(PS:http://qr.ccm.gov.cn/lic/28A14FC19D514E61BD9736B0FB69DFC0,这个自己去找你们的,我们都是试出来的,过程中找到另外一个查询的:http://sq.ccm.gov.cn/ccnt/sczr/login)建...
2018-07-19 15:08:52
1440
1
原创 Cell上的label背景色会在选中的时候透明
在设置 label 的时候 设置 layer 的颜色 cityLabel.layer.backgroundColor = [UIColorcolorWithHexString:@"ffffff"alpha:0.8].CGColor;
2017-08-22 10:33:44
338
原创 UITableView 左滑删除
// tableView 编辑- (BOOL)tableView:(UITableView *)tableView canEditRowAtIndexPath:(NSIndexPath *)indexPath{ if(indexPath.row ==self.sightModel.equipmentList.count){ return
2017-06-21 10:57:38
254
原创 新建Podfile文件时,使用vim新建
[!] Could not automatically select an Xcode workspace. Specify one in your Podfile like so: workspace 'path/to/Workspace.xcworkspace'[!] `xcodeproj` was renamed to `projec
2017-05-02 10:37:27
1858
原创 iOS model类的快速生成
.m // 没有找到的键值对- (void)setValue:(id)value forUndefinedKey:(NSString *)key{ }/** * PS:用自己的属性,代替字典里的 */+ (NSDictionary *)replacedKeyFromPropertyName { return@{
2017-04-24 15:54:25
1300
原创 iOS 监听键盘高度,监听键盘出现 收回事件
1.系统的通知,无论什么键盘弹出的时候都会post这个事件 [[NSNotificationCenterdefaultCenter]addObserver:selfselector:@selector(KeyboardWillShow:)name:UIKeyboardWillShowNotificationobject:nil];2.name。// 很容易看懂
2017-04-21 17:08:47
418
原创 iOS 模拟器 获取位置 设置自定义位置
用模拟器调节位置,设置经纬度,便于调试地理位置改变时,app相应操作。1.在模拟器的状态下,debug2.选择 location3.选择Custom location. 设置自己想要的经纬度
2017-04-20 17:37:29
2045
原创 快速使用 NSNotificationCenter iOS通知
//创建一个消息 [[NSNotificationCenterdefaultCenter] addObserver:selfselector:@selector(notice:)name:@"123"object:nil]; //发送消息 [[NSNotificationCenterdefaultC
2017-04-19 18:24:16
206
原创 简单的block使用
class1: .h @property (nonatomic,copy) void(^itemClick)(NSString *index);.mself.itemClick(headModel.info_id);class2://实现 homeHeadView.itemClick = ^(NSString *i
2017-04-19 16:57:58
207
原创 BUG-UIViewControll赋值初始属性顺序
在添加跳转一个控制器的时候,赋予一个初始值作为控制器参数或者区分控制器,在调用view.frame后会直接调用viewdidload。致使初值失败。
2017-04-18 17:41:47
215
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人