- (void)presentSheet
{
UIActionSheet *menu = [[[UIActionSheet alloc] initWithTitle:nil delegate:self cancelButtonTitle:nil destructiveButtonTitle:nil otherButtonTitles:nil] autorelease];
for (int i = 0; i < URLStringArray.count; i++)
[menu addButtonWithTitle:[URLStringArray objectAtIndex:i]];
[menu addButtonWithTitle:@"취소"];
[menu setCancelButtonIndex:menu.numberOfButtons - 1];
}
댓글 없음:
댓글 쓰기