1.子类化
2.子类化初始化方法调用
[self becomfirstResponse];
3.canBecomeFirstResponse 设置为Yes
4.实现The canPerformAction:withSender:
method of UIResponder
is also related to the editing menu. A responder implements this method to enable and disable commands of the editing menu just before the menu is displayed