Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想要一个弹出框指向一个表格视图,更具体地说是我刚刚选择的单元格。
我可以出现一个弹出窗口,但不知道在其中输入什么
CGRect popRect = CGRectMake();
让它指向单元格。
谢谢
尝试这个:
[popover presentPopoverFromRect:cell.frame inView:tableView permittedArrowDirections:UIPopoverArrowDirectionAny animated:YES];
它要求在表格视图(表格视图坐标系)的上下文中从单元格框架中呈现弹出框。