r/iOSProgramming • • 8d ago

Article Development Lessons: App for Duo

[removed]

8 Upvotes

15 comments sorted by

View all comments

12

u/LKAndrew 8d ago

This is all pretty bad advice. You shouldn’t be measuring window sizes at all, you should be building responsive design and layout. Window sizes should be dynamic because your app can be completely resized to any size now, the Duo is not just inner and outer screens. There are many multitasking modes.

1

u/[deleted] 8d ago

[removed] — view removed comment

2

u/LKAndrew 8d ago

The tools given to you have no need for window sizing.
There’s never really a need to measure anything.
You use layout tools and APIs to lay things out responsively without taking measurements for the most part unless you need to do something peculiar