iphone - Multiple UIActionSheets in one View Controller -


how multiple uiactionsheets added single uiviewcontroller if there single -actionsheet:clickedbuttonatindex: method?

set name or tag action sheet , thing this

  -(void)actionsheet:(uiactionsheet *)actionsheet clickedbuttonatindex:(nsinteger)buttonindex  {    if(actionsheet==youractionsheet1)      {       //your logic        }      if(actionsheet==youractionsheet2)      {       //your logic        }     } 

hope help


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -