Load different views depending on what device you open your app with


Hi everyone!

I’m currently working on an app that has different structure on iphone and ipad… On the iphone, the login and signup pages are in separate views while on the ipad version they are together in one view just rendered and triggered by tabs (more like a bootstrap tabs not ionic)… So the solution that I think of is to load different views depending on what device the app is being used. So now, my questions are these…

  1. Is this a good design practice? (to have different structures for different devices).
  2. How can I load different views for each device?
  3. Any recommendations/solutions on how to achieve this?