ios - UILabel tap working in simulator but not in iphone -


in ios appliation there label hidden , displayed when button clicked , when user taps on label should give alertview. user interact label enable userinteraction enabled , number of tap gestures 1 working in simulator not on iphone simulator works on ios6 , iphone on ios7

why use uilabel?

use uibutton

  • with title text and
  • set button type custom
  • making background color clearcolor.
  • also set action in touchupinside

Comments

Popular posts from this blog

vb.net - Alternative to the T-SQL AS keyword -

php - MySQLi binding parameters in a prepared statement doesn't work unless inserted after "WHERE" -

ios - CFRelease causing crash in iPad application -