与share button that can be created, with NSSharingServicePicker类似,是否有可能拥有共享菜单,就像我自己的应用程序中的Safari - 一样?
答案 0 :(得分:4)
几秒钟的谷歌搜索产生了这个:
NSArray *sharingServices = [NSSharingService sharingServicesForItems:items];
...然后您可以浏览每个服务并为它们构建菜单项。取自this code sample。