-1

In my ios appliation there is a label which is hidden and is displayed when button is clicked and when user taps on label it should give a alertview. For the user to interact with label i enable userinteraction enabled and number of tap gestures to 1 its working in simulator but not on iphone simulator works on ios6 and iphone on ios7

iAppDeveloper
  • 1,088
  • 1
  • 8
  • 16
savana
  • 221
  • 2
  • 5

1 Answers1

1

Why use UILabel?

Use UIButton

  • with title as your text and
  • set the button type to custom
  • making the background color clearcolor.
  • Also set the action in touchupinside
Lithu T.V
  • 19,955
  • 12
  • 56
  • 101