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,我想直接发送消息,而不是在用户选择“Twitter”或“Facebook”时显示撰写对话框。
UIActivityViewController
是否有可能做到这一点?
或者我必须创建一个新的 UIActivity 来做到这一点?
我认为答案是肯定的。
我必须编写自己的活动提供程序和自定义活动,以实现我的意图。
问题是自定义活动中显示的所有图像都是黑白的,只剩下骨架。我认为 Apple 希望保持一致的 UI,防止开发人员提供的“Pool”口味图像破坏整个 UI 体验。