![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
IOS
Jackalsen
老油条 + 嫩豆浆
展开
-
iOS 富文本加载 HTML
/// html string 拼装成 NSAttributedString+ (NSAttributedString *)attstringWithContent:(NSString *)content{ NSAttributedString *attstr =nil; NSString *divStr =@""; divStr原创 2017-03-15 14:14:00 · 2237 阅读 · 0 评论 -
iOS 富文本添加价格 横线
NSRange range =NSMakeRange(0, text.length); if (self.lineColor ==nil) { self.lineColor =self.textColor; } [attString addAttributes:@{原创 2017-04-11 10:24:19 · 1082 阅读 · 0 评论 -
iOS 10 以后 Uitableview 与 gestureRecognizer手势冲突
- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldReceiveTouch:(UITouch *)touch{ //[NSStringFromClass([touch.view class]) isEqualToString:@"UITableViewCellContentVi原创 2017-04-27 12:15:43 · 523 阅读 · 0 评论 -
UIwebView 解决返回自动刷新问题
[[NSUserDefaultsstandardUserDefaults] setInteger:2forKey: @"WebKitCacheModelPreferenceKey"]; [[NSUserDefaultsstandardUserDefaults] setInteger:1forKey: @"WebKitMediaPlaybackAllowsInl转载 2017-07-10 09:48:31 · 1409 阅读 · 0 评论 -
去掉Nav 底部横线
self.navigationController.navigationBar.barStyle = UIBarStyleBlack; self.navigationController.navigationBar.translucent = YES; [self.navigationController.navigationBarsetSh原创 2017-08-02 14:48:52 · 1386 阅读 · 0 评论