- 博客(4)
- 资源 (2)
- 收藏
- 关注
原创 iOS 一个有趣的Bug,收起键盘
0x00使用了IQKeyboardManager,在点击控制器空白处收起键盘时,整个界面上移了64!0x01控制器设置了 [self.navigationController.navigationBar setTranslucent:NO];在viewDidLoad 内添加了UITextField后立马调用了[_textField becomeFirstResponder];0x02...
2019-05-27 16:46:58 673
原创 iOS UILabel 文本颜色设置
0x01 这也需要讨论?不就是 label.textColor = [UIColor redColor];0x02 另外的方法呢?用setValue:forKey:[label setValue:[UIColor greenColor] forKey:@"textColor"];0x03 还有吗?用performSelector:withObject:[label3 perfor...
2019-05-24 11:13:58 1272
原创 iOS 正确获取应用占用的内存 笔记
0x00 关键代码#import <mach/mach.h>- (int64_t)memoryUsage { int64_t memoryUsageInByte = 0; task_vm_info_data_t vmInfo; mach_msg_type_number_t count = TASK_VM_INFO_COUNT; kern_retur...
2019-05-10 18:52:51 1291
原创 -[__NSCFConstantString objectForKeyedSubscript:]: unrecognized selector sent to instance 0x100003680
0x00崩溃__NSCFConstantString objectForKeyedSubscript: unrecognized selector sent to instance 0x1000036800x01直接上代码 NSDictionary *dic = @{@"views":@[@{@"tag":@"100"},@{@"tag":@"200"}]}; for (NS...
2019-05-09 18:50:01 2456
Animatable Properties.pdf
2020-08-06
ISO_IEC_14496-1_2010.pdf
2017-01-03
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人