随笔 - 262  文章 - 0  评论 - 5  阅读 - 20万
10 2021 档案
【iOS 知识汇】只对url中的中文进行编,不管有没有编码过。
摘要:NSString *encodedString = (NSString *) CFBridgingRelease(CFURLCreateStringByAddingPercentEscapes(kCFAllocatorDefault, (CFStringRef)self.url, (CFString 阅读全文
posted @ 2021-10-28 15:52 wp7ers 阅读(116) 评论(0) 推荐(0) 编辑
【iOS 知识汇】iOS 8之后新添加了UIBlurEffect 类和 UIVisualEffectView 类来实现毛玻璃磨砂特效
摘要:UIBlurEffect *blur = [UIBlurEffect effectWithStyle:UIBlurEffectStyleLight]; UIVisualEffectView *effectview = [[UIVisualEffectView alloc] initWithEffec 阅读全文
posted @ 2021-10-27 11:33 wp7ers 阅读(116) 评论(0) 推荐(0) 编辑
【iOS 知识汇】UICollectionView 不显示问题。
摘要:如某个位置不想显示,调设置CGSizeZero 结果整个表都不显示。必须如上图片给个0.01的高度才能正常。 阅读全文
posted @ 2021-10-21 14:28 wp7ers 阅读(306) 评论(0) 推荐(0) 编辑
【iOS 知识汇】UITextView 设置高度后,部分机型内容显示错误。
摘要:UITextView * xieyi = [[UITextView alloc]init]; if(content==nil){ xieyi.text = @"• 为帮助你浏览推荐、发布消息、直播互动、交流沟通、注册认证,我们收集你的部分必要信息;\n• 为提供上述服务,我们可能会收集联络方式、位置 阅读全文
posted @ 2021-10-18 11:03 wp7ers 阅读(103) 评论(0) 推荐(0) 编辑
【iOS】设备调试老掉线,断断续续。
摘要:Mac连接设备USB断断续续 老款Mac连接设备老是断断续续,其实是usbd进程搞的鬼。把usbd进程杀掉就好了。代码sudo killall -STOP -c usbd 阅读全文
posted @ 2021-10-09 12:21 wp7ers 阅读(111) 评论(0) 推荐(0) 编辑

< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

点击右上角即可分享
微信分享提示