有没有办法从NativeScript库打开iOS Action扩展?
https://developer.apple.com/ios/human-interface-guidelines/extensions/sharing-and-actions/
基本上我正在尝试打开文本文件,因此我可以将其上传到iCloud,Dropbox或通过电子邮件发送 . 基本上就像Android上的“意图” .
NativeScript实现了一个名为 utils.ios.openFile(this.documents.path + this.fileName)
的函数,但这是一个带有共享按钮的新Windows . 当我按下此按钮时,将打开动作扩展弹出窗口 . 是否可以直接打开弹出窗口?
TypeScript / Angular解决方案会很棒 .
1 回答
我写了这个插件 . 它将打开iOS的
sharing-and-actions
和Android的intent
.https://github.com/braune-digital/nativescript-share-file