0
@property (nonatomic, retain) UIActionSheet *ActionSheet;
@synthesize ActionSheet;
-(void)displayActionSheet:(id)sender
{
UIActionSheet *ActionSheet = [[UIActionSheet alloc]
initWithTitle:@"Language Options"
delegate:nil
cancelButtonTitle:@"Cancel"
destructiveButtonTitle:nil
otherButtonTitles:@"Devanagari", @"English", nil];
ActionSheet.actionSheetStyle = UIActionSheetStyleBlackOpaque;
[ActionSheet showInView:self.view ];
[ActionSheet release];
}
잘못 어떤 생각 변수 인스턴스를 숨 깁니다.
게시하시기 바랍니다 헤더 파일 정보 : 당신은 그 함수의 결과
UIActionSheet*
을 제거보다, 멤버 변수에 actionSheet을 저장하려면 –