【发布时间】:2015-08-07 15:43:07
【问题描述】:
我知道以前可能有人问过这个问题,但我无法在网上找到它。我只是想知道当用户单击 tableview 上的详细信息按钮时如何显示 POP UP image OR TEXT 。
谢谢你们。
【问题讨论】:
-
使用 Modal Segue 显示一个新的 ViewController 怎么样?
标签: ios xcode uitableview cocoa-touch uikit
我知道以前可能有人问过这个问题,但我无法在网上找到它。我只是想知道当用户单击 tableview 上的详细信息按钮时如何显示 POP UP image OR TEXT 。
谢谢你们。
【问题讨论】:
标签: ios xcode uitableview cocoa-touch uikit
你想实现delegate method:
- (void)tableView:(UITableView *)tableView
accessoryButtonTappedForRowWithIndexPath:(NSIndexPath *)indexPath
当调用该方法时,呈现一个模态视图控制器或警报视图以获取弹出窗口。
【讨论】: