1 2 3 4 5 ··· 36 下一页

[置顶] 常用技术网站

摘要: http://www.maczapp.com/charles抓包工具:Charles for Mac v3.9.1 http://www.cocoachina.com/ios/20160217/15328.html从零开始:你的第一个iOS App http://www.cnblogs.com/we 阅读全文

posted @ 2016-09-18 09:39 高彰 阅读(1115) 评论(0) 推荐(0) 编辑

2024年7月8日

iOS OC 打印对象数组时候出现<XLDeviceModel: 0x3032a4a50>怎么样才能打印出对象数组里面的字段

摘要: Objective-C 中的 description 方法 在 Objective-C 中,description 方法是一个 NSObject 类的实例方法,用于返回对象的字符串a56爆大奖在线娱乐。要打印出 XLDeviceModel 对象数组中的字段,你需要在 XLDeviceModel 类中实现这个方法。 阅读全文

posted @ 2024-07-08 16:52 高彰 阅读(0) 评论(0) 推荐(0) 编辑

2024年5月8日

iOS macOS 异步加载数据再回到主线程

摘要: #import "ViewController.h" @interface ViewController () @end @implementation ViewController - (void)viewDidLoad { [super viewDidLoad]; // Do any addit 阅读全文

posted @ 2024-05-08 11:02 高彰 阅读(3) 评论(0) 推荐(0) 编辑

iOS macOS 地图使用原生demo

摘要: iOS中想要定位用户信息,需要向用户申请对应的权限,主要有三种:NSLocationWhenInUseUsageDescription 应用使用期间NSLocationAlwaysUsageDescription 始终允许NSLocationAlwaysAndWhenInUseUsageDescri 阅读全文

posted @ 2024-05-08 10:24 高彰 阅读(19) 评论(0) 推荐(0) 编辑

iOS info.plist 中的隐私权限

摘要: //a. 常用权限: <key>NSCameraUsageDescription</key> <string>"xxx”需要您的同意,才能访问相机,以便于拍照上传头像等"</string> <key>NSPhotoLibraryUsageDescription</key> <string>"xxx” 阅读全文

posted @ 2024-05-08 09:54 高彰 阅读(34) 评论(0) 推荐(0) 编辑

kCLErrorDomain Code=8 和 kCLErrorDomain Code=0 iOS 海外地图使用报错 解决办法亲测有效

摘要: 海外地图使用报错Domain=kCLErrorDomain Code=8 原因是你在国内测试海外地图功能如定位和导航等,iOS内置的地理地图权限导致在国内使用就会有高德地图的标识出现, 就意味着你只能正常使用国内地理信息比如通过坐标获取如:深圳 CLLocationCoordinate2D coor 阅读全文

posted @ 2024-05-08 09:35 高彰 阅读(107) 评论(0) 推荐(0) 编辑

2024年4月26日

iOS. OC. Masonry的注意地方

摘要: [self.tableView mas_makeConstraints:^(MASConstraintMaker *make) { make.edges.equalTo(self.view).with.insets(UIEdgeInsetsMake(2, 2, 2, 2));//子视图相对于父视图上 阅读全文

posted @ 2024-04-26 08:54 高彰 阅读(2) 评论(0) 推荐(0) 编辑

2024年4月23日

iOS UITextField输入框的简单demo

摘要: 先看效果图 二话不说直接说给你代码 @interface MineNewFamilyViewCell()<UITextFieldDelegate> @property (nonatomic, strong) UITextField *textField;//输入框 [self.contentView 阅读全文

posted @ 2024-04-23 17:02 高彰 阅读(12) 评论(0) 推荐(0) 编辑

2024年3月28日

iOS macOS 处理 UITableViewCell 第一行和最后一行圆角设置圆角,包括一个Cell也可以

摘要: 先说a56爆大奖在线娱乐自己的处理 先看效果: 上代码这里只列出关键部分 cellForRowAtIndexPath方法下 // 判断是否为第一行或最后一行 NSInteger firstRow = 0; NSInteger lastRow = [tableView numberOfRowsInSection:ind 阅读全文

posted @ 2024-03-28 19:31 高彰 阅读(17) 评论(0) 推荐(0) 编辑

iOS macOS tableViewcell判断是否为第一行或最后一行

摘要: // 判断是否为第一行或最后一行 NSInteger firstRow = 0; NSInteger lastRow = [tableView numberOfRowsInSection:indexPath.section] - 1; 阅读全文

posted @ 2024-03-28 19:23 高彰 阅读(7) 评论(0) 推荐(0) 编辑

2024年3月13日

iOS macOS更新Xcode15后适配UI界面处理界面越界显示问题

摘要: 直接上解决方案,亲测有效哦 iOS端 my..clipsToBounds = YES; macOS端 drawRect [self setClipsToBounds:true]; addSubview后面 [self.chartViewControll.view setClipsToBounds:t 阅读全文

posted @ 2024-03-13 17:26 高彰 阅读(67) 评论(0) 推荐(0) 编辑

1 2 3 4 5 ··· 36 下一页

导航