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.
我最近添加了一个 UIActivityTypeViewController,根据文档,它通过 Message 功能包括 SMS。但是,创建此消息时似乎没有出现消息,我可以获得所有其他默认值并排除我想要的。我是否必须创建自定义 UIActivity 才能包含消息?
除非您在方法的参数中UIActivityMessage包含字符串,否则不会显示。不幸的是,您无法使用.ActivityItemsUIActivityViewController initWithActivityItems:applicationActivities:UIActivityMessage
UIActivityMessage
ActivityItems
UIActivityViewController
initWithActivityItems:applicationActivities: