![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
UI
风雪萧萧秋雨落
这个作者很懒,什么都没留下…
展开
-
iOS 禁止某个页面侧滑返回
- (void)viewDidLoad { [super viewDidLoad]; id traget = self.navigationController.interactivePopGestureRecognizer.delegate; UIPanGestureRecognizer * pan = [[UIPanGestureRecognizer alloc]initWithTarget:traget action:nil]; [self.view addGestu.原创 2020-06-12 14:22:38 · 1519 阅读 · 0 评论 -
iOS UITextView 默认文本
做了一个可以仿UITextField的 UITextView 可以和 xib 和storyborad无缝隙连接.直接上代码吧..h#import @interface UISTextViewPH : UITextView- (void)setPlaceholder:(NSString *)aPlaceholder PlaceholderTextColor:(UIColo原创 2017-05-25 14:45:39 · 742 阅读 · 0 评论 -
IQKeyboardManager Done 修改为 完成
在didFinishLaunchingWithOptions中加上swift :import IQKeyboardManagerIQKeyboardManager.shared().toolbarDoneBarButtonItemText = "完成"OC:#import <IQKeyboardManager/IQKeyboardManager.h>...原创 2019-05-17 13:44:01 · 2284 阅读 · 0 评论