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

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -