I've search quite a bit to find information on view changes in IOS application while using swift. I've trying to do following with a orientation change for a particular view. I've a vie with list of buttons (4) arrange like a list when device in portrait mode but I want to display them as 4 square button in a two row when device switched to landscape mode.
For example, in portrait mode
| Button 1 |
| Button 2 |
| Button 3 |
| Button 4 |
In landscape mode,
| Button 1 Button 2 |
| Button 3 Button 4 |
I don't know if I need to build dynamic view for landscape mode to achieve this? Any ideas/help is appreciated.