1

我继承QLPreviewController了用我自己的处理程序设置我自己的右键。
它在 iOS 5.1 上运行良好,我什至设法让它在切换到主页后保留按钮,而不是回到我的应用程序。

[self.navigationItem setRightBarButtonItem:[[UIBarButtonItem alloc]initWithBarButtonSystemItem:UIBarButtonSystemItemEdit target:self action:@selector(openWithPressed:)]];

在 iOS 4.3 上,QuickLook 与标准按钮一起出现UINavigationItem(右侧按钮是“打开方式”按钮,而不是我的自定义“编辑”按钮,具有自定义逻辑)。以这种方式设置按钮是否存在一些已知问题?我应该以其他方式吗?

4

0 回答 0