有没有办法将 iOS 应用程序转换为 Mac OS X 应用程序? [英] Is there a way to convert an iOS app to a Mac OS X app?

查看:37
本文介绍了有没有办法将 iOS 应用程序转换为 Mac OS X 应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法将现有的 iPhone 应用程序移植到 Mac OS X 应用程序?

Is there any way to port an existing iPhone app to a Mac OS X app?

推荐答案

这是一个非常广泛的问题,因此很难回答.

It's a very broad question and, as such, is very difficult to answer.

通常答案是否定的.

对于应用程序,如果您严格遵循 MVC 模型,则可以保留模型,但需要重写视图和控制器.对于游戏来说,这取决于它的级别有多低.如果您使用的框架也可在 Mac 上使用,那么很多框架可能会自动移植,但您仍需要重新考虑控件、屏幕尺寸等.无论哪种方式,这都不是小事.

For an app, if you strictly followed the MVC model, you'd be able to keep the model but would need to rewrite both the view and the controller. For a game it depends on how low-level it is. If you used a framework that it also available on the Mac then a lot may port automatically but you'll still need to reconsider the controls, screen size, etc. Either way it's non-trivial.

这篇关于有没有办法将 iOS 应用程序转换为 Mac OS X 应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆