0

actionsheetのではなく、ビューの中央に表示しpopoverますiPad app。これは許可されていAppstoreますか?

4

1 に答える 1

1

これを試して :-

UIActionSheet *popupQuery = [[UIActionSheet alloc] initWithTitle:@"options" delegate:self cancelButtonTitle:@"Cancel" destructiveButtonTitle:nil otherButtonTitles:@"Option 1", @"Option 2", nil];
popupQuery.actionSheetStyle = UIActionSheetStyleBlackOpaque;
if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad)
   {
        //popupQuery.
        [popupQuery showInView:self.view];
   }

そして、はい、アップルによって承認されました

お役に立てば幸いです

于 2013-01-08T07:53:57.997 に答える