简体   繁体   English

从自定义键盘iOS 8打开外部应用

[英]Opening external app from custom keyboard ios 8

I wanted to know how I can open an external app from a custom keyboard in iOS 8? 我想知道如何从iOS 8中的自定义键盘打开外部应用程序吗? is it by example possible to open Facebook, or post a Facebook message from a custom keyboard, if yes, how can I achieve this? 是否可以通过示例打开Facebook或通过自定义键盘发布Facebook消息,如果可以,如何实现?

Thank you, joe 谢谢你乔

I was trying to work with the UIApplication sharedApplication openURL: method in order to open the AppStore to link to the app so user's could rate it, Xcode kept telling me that the openURL method would not work in the extension. 我试图与UIApplication sharedApplication openURL:方法一起使用,以便打开AppStore链接到应用程序,以便用户对它进行评分,Xcode一直告诉我openURL方法在扩展中不起作用。 So I am sure you are able to refer back to the app itself but not open other app's which hopefully they will be able to change fairly soon. 因此,我确信您可以参考该应用程序本身,但不能打开其他应用程序,希望他们能够很快进行更改。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM