if double tap on uitextview, textview show popover cut, copy, paste. want method called when double tap on uitextview popover appear??
update
finally know method is. real problem want know, popover contain cut,copy,paste,select, select all, replace. , different controller called uitextview. uimenucontroller. segment show on popover set in uimenuitem , array. can set type of uimenuitem want show in (bool)canperformaction: withsender:
method.
this example code :
- (bool)canperformaction:(sel)action withsender:(id)sender { return [super canperformaction:action withsender:sender]; }
after double tap on uitextview 1 of delegate method textviewdidchangeselection:(uitextview*)textview
ll called.
Comments
Post a Comment