iPhone

[obj-c] UIAlertDelegate

tenn 2012. 11. 30. 11:13




- (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex {

        if(buttonIndex == kNo) {
        } else {
            //Close by suspending...
            [[UIApplication sharedApplication] suspend];
        }
    }





http://stackoverflow.com/questions/11034369/objective-c-derived-uialertview-ok-button

저작자표시 (새창열림)