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.
根据我的问题的主题,我已经从导航栏很好地调用了我的操作表函数,但是我有一个视图,上面有简单的工具栏。我想重用我的操作表功能并在其上也有按钮。那可能吗?
谢谢
我不确定我是否真的理解您的要求,但是在工具栏上调用操作表是这样的:
[actionSheet showFromToolBar:self.toolBarController.toolbar];