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.
每当用户想要选择默认未列出的新共享方法或操作时,通过点击 UIActivityViewController 生成的共享表上的“更多”按钮,将显示一个新视图,众所周知。我需要更改栏该页面上的按钮
任何人都可以帮助我将我们自己的栏按钮添加为 rightbarbutton 项目吗?
试试这个。如果不是你想要的,那就多解释一点。
UIBarButtonItem *addButton = [[UIBarButtonItem alloc]initWithTitle:@"Done" style:UIBarButtonItemStyleDone target:self action:@selector(doneButtonPressed)]; self.navigationItem.rightBarButtonItem = addButton;