Xcode 中 iOS 的 WebKit 实现
有没有办法在xCode中使用WebKit开发iOS应用程序?我很确定您可以使用 WebKit 来制作 Mac 应用程序,但是 iOS 的应用程序怎么样?
Is there any way to use WebKit for developing iOS applications in xCode? I'm pretty sure you can use WebKit for making Mac applications, but how about iOS ones?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
是的,只需从库中拖出一个 UIWebView 即可。您对内容的控制较少,但它可以显示网页和 JavaScript。然而,它可能适合也可能不适合您的需求,这取决于您正在寻找什么——您没有指定。
文档:http://developer.apple。 com/library/ios/#documentation/uikit/reference/UIWebView_Class/Reference/Reference.html
Yes, just drag out a UIWebView from the Library. You have less control over the content but it works to display webpages and javascript. However it may or may not suit your needs, depending on what you're looking for—you haven't specified.
Documentation: http://developer.apple.com/library/ios/#documentation/uikit/reference/UIWebView_Class/Reference/Reference.html
您可以在此处查看我的开源代码作为启动项目:https://github.com/sylverb/CIALBrowser
You can check my open source code here as a start project : https://github.com/sylverb/CIALBrowser