'처리방법'에 해당되는 글 1건

  1. 2012.09.18 [objective-c] actionSheet가 여러개 있을 경우 처리방법(링크)
iOS2012. 9. 18. 00:24

http://www.iphonedevsdk.com/forum/iphone-sdk-development/61426-multiple-action-sheets-problem.html
UIActionSheet *actionSheet1;
UIActionSheet *actionSheet2;
- (void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex{
if(actionSheet==actionSheet1)
{
do this}
else
if(actionSheet==actionSheet2)
{do that}
}

Posted by 다오나무