当选择弹出窗口行时,如何调用 - (void)setDetailItem:(id)newDetailItem?

发布于 2024-09-04 00:27:35 字数 267 浏览 4 评论 0原文

我创建了一个 TabBar 应用程序,并在其中一个视图中使用弹出窗口。该视图已为 UIPopoverControllerDelegate 注册,但这并没有做到这一点。弹出窗口是一个完全不同的视图控制器和 xib。当用户在弹出窗口中选择一行时,控制权转到 popovercontroller.m 方法 - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath

任何帮助将不胜感激。

I've created a TabBar application and in one of the views I'm using a popover. The view is registered for UIPopoverControllerDelegate but that doesn't do it. The popover is a completely different view controller and xib. When the user selects a row in the popover, control goes to the popovercontroller.m method
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath

Any help would be appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

别理我 2024-09-11 00:27:35

我也有同样的问题。本教程很有帮助。 UIPopoverController 教程

请参阅以下文件 - ColorPickerController &右视图控制器

I had the same problem. This tutorial helped a lot. UIPopoverController Tutorial

See the following files - ColorPickerController & RightViewController

呆萌少年 2024-09-11 00:27:35

我们有一个类似的问题,发现 DetailItem 是一个属性。请查看我们的博客以获取更多信息。
http://totalintmobile.tumblr.com/post/2623272838 /what-c​​alls-setdetailitem-in-uisplitview-template

We had a similar question and found that DetailItem is a property. Check out our blog for more information.
http://totalintmobile.tumblr.com/post/2623272838/what-calls-setdetailitem-in-uisplitview-template

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文