Dave Dave - 1 year ago 70
iOS Question

A lot of views in ViewController

Is it good to make a lot of views in single ViewController?
Views will be at fullscreen, always will be showed just one view (rest hidden) with different images, labels, etc.
or is it better to make a lot of ViewControllers? It must be like one view per one page. What is the best way to make 100 different views?

Answer Source

Keeping a 100 views in memory is going to cost you a lot of RAM in your device. It is generally not advisable. My advise for you is to look into different iOS architecture patterns and decide which one is better by yourself depending up on your application's logic.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download