- 博客(8)
- 资源 (1)
- 收藏
- 关注
原创 pod install 之后 no such model
解决方法:1.clean 再build2.删除原有pods___framework从pods中导入
2020-03-23 19:57:02
225
原创 上传头像 swift 4.2
extension UploadImageViewController: UIImagePickerControllerDelegate { // 用户选取图片之后 func imagePickerController(_ picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [UIImagePic...
2020-03-23 19:41:21
364
原创 Label高度自适应
使用snapkit 时注意self.commentImageView.snp.makeConstraints { (make) in make.right.equalTo(self.commnetLabel.snp.left).offset(-5) make.centerY.equalTo(self.commnetLabel) ...
2019-12-18 16:17:12
246
原创 Swift基础
1.在swift “_” 符号每个函数参数都有一个参数标签( argument label )以及一个参数名称( parameter name )。参数标签在调用函数的时候使用;调用的时候需要将函数的参数标签写在对应的参数前面。参数名称在函数的实现中使用。默认情况下,函数参数使用参数名称来作为它们的参数标签。func someFunction(firstParameterName: Int,...
2019-11-07 13:31:52
115
原创 oc-app启动后多次点击LOGO更改访问URL
UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(mmultiTaplogoImage)]; tap.numberOfTapsRequired=7; [self.logoImagView addGestureRecognize...
2019-10-12 18:00:43
126
原创 git
1.创建: git remote add origin git@255.255.255.255:/home/git/ios-butler2.add: git add .3.commit: git commit -m "XXXX"4.push: git pushgit@255.255.255.255:/home/git/i...
2019-09-16 15:07:54
67
原创 appstore 被拒绝 2.5.4
不需要后台运行一直获取位置// 若不设置,默认为NO。不会后台进行定位。[manager._locationManager setAllowsBackgroundLocationUpdates:YES];//didi 等需要 只需要一次定位设为NOplist不需要加<key>UIBackgroundModes</key><array>&...
2019-08-24 08:31:52
809
原创 UITableViewCell 点击无响应
哈哈哈哈哈哈哈傻不傻 加了UITapGestureRecognizer * tapGesture = [[UITapGestureRecognizer alloc] init]
2019-08-13 09:12:15
1005
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人