首页 » Posts tagged 'UIMenuItem'

标签:UIMenuItem

cell长按 显示拷贝 删除 复制 menuItem

低调的术木 | iOS 开发 | 2015-04-08
The UIResponderStandardEditActions informal protocol declares methods that responder classes should override to handle common editing commands invoked in the user interface, such as Copy, Paste, and Select. Although this is an informal protocol—that is, a category declared on NSObject—it is recommended that responder classes ... [阅读全文]

UITextView 使用 及添加UIMenuItem

低调的术木 | iOS 开发 | 2013-11-12
1.创建并初始化 创建UITextView的文件,并在.h文件中写入如下代码: #import <UIKit/UIKit.h> @interface TextViewController : UIViewController { UITextView *textView; } @property (nonatomic, retain) UITextView *textView; @end 在.m文件中初始化这个textview,写入代码如下: self.textView = [[[UITextView ... [阅读全文]
Ɣ回顶部