UIViewController에서 UITabbar를 만들었습니다. 그런 다음 UIActionSheet를 추가했지만 액션 시트가 나타나면 "Cancel"버튼의 상단 부분을 클릭하면 작동하지만 "Cancel"의 맨 아래 부분을 클릭해도 응답이 없습니다.iOS의 UITabbarcontroller에서 작업 시트 추가
Presenting action sheet clipped by its superview. Some controls might not respond to touches. On iPhone try -[UIActionSheet showFromTabBar:] or -[UIActionSheet showFromToolbar:] instead of -[UIActionSheet showInView:].
당신이 어떤 제안이 있습니까 : 나는 액션 시트를 클릭하면
actionSheetDelete = [[UIActionSheet alloc] initWithTitle:@"Do you want to continue?" delegate:self cancelButtonTitle:@"Cancel" destructiveButtonTitle:@"Delete Item(s)" otherButtonTitles:nil];
actionSheetDelete.actionSheetStyle = UIActionSheetStyleBlackOpaque;
[actionSheetDelete showInView:self.view];
[actionSheetDelete release];
, 난 항상 콘솔에서이 경고를 보여 나는 actionsheet를 추가하려면이 코드를 사용? 미리 감사는
는
내 대답보기 ... –
[UIActionSheet보기를 Tab Bar Controller 위에 표시하는 방법?] (http://stackoverflow.com/questions/2774270/how-to-display-the-uiactionsheet- view-from-above-tab-bar-controller) – Raptor