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

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

asp.net - RadAsyncUpload in code behind, how to? -