ActionSheet
内で画面をタッチしたときにを表示しようとしていますscrollview
。アクションシートは最初のページでうまく表示されます。しかし、後続のページでは、実際のボタンが画面外に表示されているかのように、画面が暗くなり、何も表示されません。のさまざまなフレーム配置をテストしましUIActionSheet
たが、機能しないようです。
self.view.frame.origin.xのScrollViewの位置は正しいようです。
UIActionSheet *actionSheet = [[UIActionSheet alloc]
initWithTitle:nil
delegate:self
cancelButtonTitle:@"Cancel"
destructiveButtonTitle:nil
otherButtonTitles:@"Jump to First Page", @"Browse Pages",nil];
CGRect frame = CGRectMake(self.view.frame.origin.x, self.view.frame.origin.y, 480.0f, 320.0f);
[actionSheet setFrame:frame];
[actionSheet showInView:self.view];