Hacker News new | ask | show | jobs
by Nullabillity 3562 days ago
What happens if you try to open an iPhone app on an iPad? What happens if you try to open an Android phone app on an Android tablet?

That's the difference between IB and Android's layout system.

4 comments

It's really not – I think you're working with outdated knowledge from several years ago. An "iPhone app" is one specifically built for iPhones. That's not the norm these days. Normally you would build an iOS app with universal storyboards that would work for both iPhones and iPads. Normally opening an iOS application on an iPad would result in a layout that works well for iPads.
Phone layouts automatically blowing up to a 10 inch screen and allowing developers to be lazy is not an advantage. The tablet apps on Android are still garbage after all these years.
Modern iOS development uses Autolayout, which uses a constraint solver. This hasn't been a problem for years.
Auto Layout[0] can give you incredibly flexible designs from within IB.

[0]https://www.raywenderlich.com/115440/auto-layout-tutorial-in...