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
Post a Comment