objective c - Do I have to subclass in this case? -


i have uiviewcontroller , uitextview in it. want touchesbegan method in uiviewcontroller, of course, it's being blocked b uitextview. so, have subclass uitextview override resignsfirstresponder? there's got antoher way, otherwise going have create 2 files override method returns no.

thanks.

update: want display uiactionsheet whenever user taps on screen. want uitextview scrollable.

you set uitextview.userinteractionenabled = no (this can done in interface builder/xcode 4). touches pass through view behind uitextview. use uicontrol instead of uiview view controller's view if want intercept touches view controller's view.

can tell more interaction you're trying create?


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -