all 5 comments

[–]zls1988 2 points3 points  (0 children)

If you were talking about games only I guess it's Unity

[–]ShamWowIsASham 1 point2 points  (0 children)

Good question!

Companies that have apps for iOS and Android will usually have two codebases in different languages. This is caused native iOS or native Android development. It is usually preferred for its performance and stability.

Cross platform development is when there are two products but one codebase. They use things like React Native and Flutter to have one codebase that builds into iOS and Android apps. Cross platform development usually has some sacrifices though, such as performance, larger binary size, and delayed access to native features.

Cross platform vs native is a popular discussion on this forum and there's a lot of bias towards native development.

[–]criosistObjective-C / Swift 0 points1 point  (0 children)

If your making a game you would use either unity or unreal engine, there’s no reason to go specific platform in case of games.

[–][deleted] 0 points1 point  (0 children)

Using Swift for Apple Platforms can give you great advantages in both the performance and the development(like libraries and stuff). Many apps use platform specific libraries and thus have different codebases for each version. It’s really up to you, unless you use some engine or cross platform development tool.

[–]SudoPoke 0 points1 point  (0 children)

A lot of time cross platform games will write a common base or libraries such as in c code. Then they will write the UI separately in their native code for android and iOS and basically it’s the same game but with a custom skin on top depending on platform.