티스토리 뷰

.h 파일에
......
@interface Control_FunViewController : UIViewCotroller  {
......
.m 파일에
UIActionSheet *actionSheet = [[UIActionSheet alloc]
                             initWithTitle: @"Are you sure?"
                             delegate: self
                             cancelButtonTitle: @"No Way!"
                             destructiveButtonTitle: @"Yes, I'm Sure!"
                             otherButtonTitles: nil];
[actionSheet showInView:self.view];
[actionSheet release];
댓글