我想将我的Apple Watch应用程序中的一些文本分享到社交媒体或消息应用程序。我从这里找到了一些东西 - presentTextInputControllerWithSuggestions:allowedInputMode:completion:
我可以显示我的文字但无法选择分享我的文字,就像我们在 UIactivityviewcontroller或共享扩展程序中找到的那样。
答案 0 :(得分:0)
方法presentTextInputControllerWithSuggestions:allowedInputMode:completion:
对于输入文本很有用,例如通过使用语音输入或从建议列表中进行选择。
如果您想与其他人共享所选文字,请使用openParentApplication...
方法将其发送至iPhone应用程序(更多详情here)。然后在iPhone上,您有许多WatchKit目前不提供的可能性。