[SOLVED]How to tell which UIAlertView called clickedButtonWithIndex method.


hi guys,

have 2 uialertviews pop when 2 different buttons pressed. 1 button submit button, other clear button. these 2 popups in entire app (it's single page app , has 1 view controller).

have view controller delegate pop ups i'm not sure if way it. haven't found way tell button called popup can handle in clickedbuttonwithindex method.

good/bad practice handle 2 uialertviews in 1 view controller? how tell button called alert?

thank in advance can help.


edit: solved. learned right after posted (figures) "tag" property can set. works charm!
 



Forums iPhone, iPad, and iPod Touch iOS Programming


  • iPhone
  • Mac OS & System Software
  • iPad
  • Apple Watch
  • Notebooks
  • iTunes
  • Apple ID
  • iCloud
  • Desktop Computers
  • Apple Music
  • Professional Applications
  • iPod
  • iWork
  • Apple TV
  • iLife
  • Wireless

Comments

Popular posts from this blog

Carrier post Error specific

How to increase vRAM for HD3000 graphics

Carrier [Information] AT&T NEXT