2014-02-28 4 views
1

내 목표는 Facebook 메신저 및 기타 많은 앱이 옵션을 표시 할 때 사용하는이 옵션보기를 다시 만드는 것입니다. enter image description here옵션 버튼 모달보기 ios7

이렇게하는 가장 좋은 방법은 무엇입니까? 이 일을하게 할 수업이 있나요? 이 작업을 수행 할 좋은 타사 앱이 있습니까?

답변

2

그래서 파기를하고 나면 액션 시트가 필요합니다. 액션 시트는 최대 액션 시트를 설정하려면 꽤 정직하고 있습니다 : 여분 https://developer.apple.com/library/ios/documentation/userexperience/conceptual/UIKitUICatalog/UIActionSheet.html#//apple_ref/doc/uid/TP40012857-UIActionSheet

: 여기

이입니다

- (void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex{ 
    NSLog(@"The %@ button was tapped.", [actionSheet buttonTitleAtIndex:buttonIndex]); 
} 

더 많은 정보

UIActionSheet *actionSheet = [[UIActionSheet alloc] initWithTitle:nil 
                delegate:self 
              cancelButtonTitle:@"Cancel" 
             destructiveButtonTitle:@"Delete Note" 
              otherButtonTitles:nil]; 

는 응답 수집 오픈 소스 모달 프레임 워크 : https://github.com/reednj/TDSemiModal

관련 문제