当有人触摸iPad上的XLForm按钮时,我正在尝试显示弹出窗口。
选择器向我传递了一个XLFormDescriptor对象,但我不知道如何获取按钮的框架,以便从它显示弹出窗口。
在正确的方向上推动,我们将非常感激!
发布于 2015-03-09 22:20:29
UITableViewCell *cell = [sender cellForFormController:self];
alertController.popoverPresentationController.sourceRect = cell.frame;https://stackoverflow.com/questions/28942569
复制相似问题