简体   繁体   中英

can i move UITextView on my touch events ? or i can recognize touch on UITextView?

hey friend in my View their is one textview(For que.) by tapping on that i have to filp new view(for answer) but textView not recognize touch event....

Please help me

thanks in advancce

Subclass the UITextView and override becomeFirstResponder: . This will fire if the text view's keyboard comes up, which will happen if you touch it (unless you set first responder programatically; you'll have to handle that).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM