Crossplatform iPhone / Android code sharing

前端 未结 11 1519
北海茫月
北海茫月 2020-12-01 01:51

Simply put: What is the most effective way to share / reuse code between iPhone and Android builds?

The two most common scenarios I think would be:

  1. Bla
11条回答
  •  醉梦人生
    2020-12-01 02:37

    Write as much as possible in plain old C (or C++ if needed) and just include the same files in Android and iPhone. Works on Windows/Mac too. "cross platform" libraries tend to consume you.

提交回复
热议问题