Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Scale iPhone App To iPad

Scale iPhone App To iPad

A mix of experiences and a how to in order to scale iPhone apps to iPads.

Avatar for Chris Blättermann

Chris Blättermann

February 08, 2016
Tweet

Other Decks in Technology

Transcript

  1. Scale iPhone App to iPad Introduction ▸ Chris Blättermann ▸

    “Full Stack Software Developer” ▸ riskmethods GmbH
  2. Scale iPhone App to iPad Introduction ▸ Chris Blättermann ▸

    “Full Stack Software Developer” ▸ riskmethods GmbH ▸ B2B SaaS Solution for Supply Chain Risk Management
  3. Scale iPhone App to iPad Introduction ▸ Chris Blättermann ▸

    “Full Stack Software Developer” ▸ riskmethods GmbH ▸ B2B SaaS Solution for Supply Chain Risk Management ▸ riskmethods Mobile Companion
  4. Scale iPhone App to iPad Introduction ▸ Chris Blättermann ▸

    “Full Stack Software Developer” ▸ riskmethods GmbH ▸ B2B SaaS Solution for Supply Chain Risk Management ▸ riskmethods Mobile Companion
  5. Scale iPhone App to iPad Introduction ▸ Chris Blättermann ▸

    “Full Stack Software Developer” ▸ riskmethods GmbH ▸ B2B SaaS Solution for Supply Chain Risk Management ▸ riskmethods Mobile Companion
  6. Scale iPhone App to iPad Introduction ▸ Chris Blättermann ▸

    “Full Stack Software Developer” ▸ riskmethods GmbH ▸ B2B SaaS Solution for Supply Chain Risk Management ▸ riskmethods Mobile Companion
  7. Scale iPhone App to iPad Introduction ▸ Chris Blättermann ▸

    “Full Stack Software Developer” ▸ riskmethods GmbH ▸ B2B SaaS Solution for Supply Chain Risk Management ▸ riskmethods Mobile Companion
  8. Scale iPhone App to iPad Introduction ▸ Chris Blättermann ▸

    “Full Stack Software Developer” ▸ riskmethods GmbH ▸ B2B SaaS Solution for Supply Chain Risk Management ▸ riskmethods Mobile Companion ▸ Universal Application
  9. Scale iPhone App to iPad iPhone app on iPad ▸

    Can’t avoid it ▸ Terrible but kind of works
  10. Scale iPhone App to iPad iPhone app on iPad ▸

    Can’t avoid it ▸ Terrible but kind of works
  11. Scale iPhone App to iPad iPhone app on iPad ▸

    Can’t avoid it ▸ Terrible but kind of works ▸ Disadvantages
  12. Scale iPhone App to iPad iPhone app on iPad ▸

    Can’t avoid it ▸ Terrible but kind of works ▸ Disadvantages ▸ Stretched app (1x/2x)
  13. Scale iPhone App to iPad iPhone app on iPad ▸

    Can’t avoid it ▸ Terrible but kind of works ▸ Disadvantages ▸ Stretched app (1x/2x)
  14. Scale iPhone App to iPad iPhone app on iPad ▸

    Can’t avoid it ▸ Terrible but kind of works ▸ Disadvantages ▸ Stretched app (1x/2x) ▸ No iPad keyboard
  15. Scale iPhone App to iPad iPhone app on iPad ▸

    Can’t avoid it ▸ Terrible but kind of works ▸ Disadvantages ▸ Stretched app (1x/2x) ▸ No iPad keyboard
  16. Scale iPhone App to iPad iPhone app on iPad ▸

    Can’t avoid it ▸ Terrible but kind of works ▸ Disadvantages ▸ Stretched app (1x/2x) ▸ No iPad keyboard ▸ Bad use of screen estate
  17. Scale iPhone App to iPad What do we need? ▸

    Autoresizing
 Layouting the old way
  18. Scale iPhone App to iPad What do we need? ▸

    Autoresizing
 Layouting the old way ▸ Universal App
 Awareness for iPad
  19. Scale iPhone App to iPad What do we need? ▸

    Autoresizing
 Layouting the old way ▸ Universal App
 Awareness for iPad ▸ Launch Screen
 Instead of Launch Image
  20. Scale iPhone App to iPad What do we need? ▸

    Autoresizing
 Layouting the old way ▸ Universal App
 Awareness for iPad ▸ Launch Screen
 Instead of Launch Image ▸ UISplitView
  21. Scale iPhone App to iPad Autoresizing ▸ Springs
 Affecting the

    size ▸ Struts
 Affecting the position
  22. Scale iPhone App to iPad Autoresizing ▸ Springs
 Affecting the

    size ▸ Struts
 Affecting the position
  23. Scale iPhone App to iPad Autoresizing ▸ Springs
 Affecting the

    size ▸ Struts
 Affecting the position
  24. Scale iPhone App to iPad Autoresizing ▸ Springs
 Affecting the

    size ▸ Struts
 Affecting the position
  25. Scale iPhone App to iPad Autoresizing ▸ Springs
 Affecting the

    size ▸ Struts
 Affecting the position
  26. Scale iPhone App to iPad Autoresizing ▸ Springs
 Affecting the

    size ▸ Struts
 Affecting the position
  27. Scale iPhone App to iPad Autoresizing ▸ Springs
 Affecting the

    size ▸ Struts
 Affecting the position ▸ Problem
 It doesn’t really scale
  28. Scale iPhone App to iPad Universal App ▸ Switch to

    “Universal”
 
 
 ▸ Support all orientations
  29. Scale iPhone App to iPad Launch Screen ▸ Xib instead

    of images
 Allow for more flexibility
  30. Scale iPhone App to iPad Launch Screen ▸ Xib instead

    of images
 Allow for more flexibility ▸ Visual bare minimum
 Illusion of fast loading app
  31. Scale iPhone App to iPad Launch Screen ▸ Xib instead

    of images
 Allow for more flexibility ▸ Visual bare minimum
 Illusion of fast loading app ▸ Loading screen also possible
  32. Scale iPhone App to iPad Launch Screen ▸ Xib instead

    of images
 Allow for more flexibility ▸ Visual bare minimum
 Illusion of fast loading app ▸ Loading screen also possible
  33. Scale iPhone App to iPad Launch Screen ▸ Xib instead

    of images
 Allow for more flexibility ▸ Visual bare minimum
 Illusion of fast loading app ▸ Loading screen also possible
  34. Scale iPhone App to iPad UISplitView ▸ Overview & detail

    view ▸ Not limited to view types
 Mix & match views
  35. Scale iPhone App to iPad UISplitView ▸ Overview & detail

    view ▸ Not limited to view types
 Mix & match views ▸ Good use of screen estate
  36. Scale iPhone App to iPad UISplitView ▸ Overview & detail

    view ▸ Not limited to view types
 Mix & match views ▸ Good use of screen estate
  37. Scale iPhone App to iPad UISplitView ▸ Overview & detail

    view ▸ Not limited to view types
 Mix & match views ▸ Good use of screen estate
  38. Scale iPhone App to iPad The extra mile ▸ Auto

    Layout
 Intelligent screen usage
  39. Scale iPhone App to iPad The extra mile ▸ Auto

    Layout
 Intelligent screen usage ▸ Size Classes
 Size adaptation of views
  40. Scale iPhone App to iPad Auto Layout I ▸ Method

    of layouting
 More sophisticated than Autoresizing
  41. Scale iPhone App to iPad Auto Layout I ▸ Method

    of layouting
 More sophisticated than Autoresizing ▸ Constraints
 Ruleset for view
  42. Scale iPhone App to iPad Auto Layout I ▸ Method

    of layouting
 More sophisticated than Autoresizing ▸ Constraints
 Ruleset for view ▸ Relativity between views
  43. Scale iPhone App to iPad Auto Layout I ▸ Method

    of layouting
 More sophisticated than Autoresizing ▸ Constraints
 Ruleset for view ▸ Relativity between views
  44. Scale iPhone App to iPad Auto Layout I ▸ Method

    of layouting
 More sophisticated than Autoresizing ▸ Constraints
 Ruleset for view ▸ Relativity between views
  45. Scale iPhone App to iPad Size Classes I ▸ Requires

    Auto Layout ▸ Position elements
 Depending on window size
  46. Scale iPhone App to iPad Size Classes I ▸ Requires

    Auto Layout ▸ Position elements
 Depending on window size ▸ Two window sizes
 Compact & Regular
  47. Scale iPhone App to iPad Size Classes I ▸ Requires

    Auto Layout ▸ Position elements
 Depending on window size ▸ Two window sizes
 Compact & Regular ▸ Wildcard
 Any
  48. Scale iPhone App to iPad Size Classes I ▸ Requires

    Auto Layout ▸ Position elements
 Depending on window size ▸ Two window sizes
 Compact & Regular ▸ Wildcard
 Any
  49. Scale iPhone App to iPad Size Classes I ▸ Requires

    Auto Layout ▸ Position elements
 Depending on window size ▸ Two window sizes
 Compact & Regular ▸ Wildcard
 Any
  50. Scale iPhone App to iPad Size Classes II Compact/Compact Any/Compact

    Regular/Compact Compact/Any Any/Any Regular/Any Compact/Regular Any/Regular Regular/Regular Width Height
  51. Scale iPhone App to iPad Size Classes II Compact/Compact Any/Compact

    Regular/Compact Compact/Any Any/Any Regular/Any Compact/Regular Any/Regular Regular/Regular Width Height iPhone Landscape
  52. Scale iPhone App to iPad Size Classes II Compact/Compact Any/Compact

    Regular/Compact Compact/Any Any/Any Regular/Any Compact/Regular Any/Regular Regular/Regular Width Height
  53. Scale iPhone App to iPad Size Classes II Compact/Compact Any/Compact

    Regular/Compact Compact/Any Any/Any Regular/Any Compact/Regular Any/Regular Regular/Regular Width Height iPhone Portrait
  54. Scale iPhone App to iPad Size Classes II Compact/Compact Any/Compact

    Regular/Compact Compact/Any Any/Any Regular/Any Compact/Regular Any/Regular Regular/Regular Width Height
  55. Scale iPhone App to iPad Size Classes II Compact/Compact Any/Compact

    Regular/Compact Compact/Any Any/Any Regular/Any Compact/Regular Any/Regular Regular/Regular Width Height iPhone Plus Landscape
  56. Scale iPhone App to iPad Size Classes II Compact/Compact Any/Compact

    Regular/Compact Compact/Any Any/Any Regular/Any Compact/Regular Any/Regular Regular/Regular Width Height
  57. Scale iPhone App to iPad Size Classes II Compact/Compact Any/Compact

    Regular/Compact Compact/Any Any/Any Regular/Any Compact/Regular Any/Regular Regular/Regular Width Height iPad Portrait/Landscape
  58. Scale iPhone App to iPad Size Classes II Compact/Compact Any/Compact

    Regular/Compact Compact/Any Any/Any Regular/Any Compact/Regular Any/Regular Regular/Regular Width Height
  59. Scale iPhone App to iPad Size Classes II Compact/Compact Any/Compact

    Regular/Compact Compact/Any Any/Any Regular/Any Compact/Regular Any/Regular Regular/Regular Width Height Default All Sizes
  60. Scale iPhone App to iPad Size Classes II Compact/Compact Any/Compact

    Regular/Compact Compact/Any Any/Any Regular/Any Compact/Regular Any/Regular Regular/Regular Width Height
  61. Scale iPhone App to iPad Size Classes II Compact/Compact Any/Compact

    Regular/Compact Compact/Any Any/Any Regular/Any Compact/Regular Any/Regular Regular/Regular Width Height UISplitView
  62. Scale iPhone App to iPad Size Classes II Compact/Compact Any/Compact

    Regular/Compact Compact/Any Any/Any Regular/Any Compact/Regular Any/Regular Regular/Regular Width Height
  63. Scale iPhone App to iPad Keep in Mind ▸ Support

    for non-retina screens
 @1x images (iPad 2) when coming from retina-only iPhone app
  64. Scale iPhone App to iPad Keep in Mind ▸ Support

    for non-retina screens
 @1x images (iPad 2) when coming from retina-only iPhone app ▸ Take your time with UISplitView
  65. Scale iPhone App to iPad Keep in Mind ▸ Support

    for non-retina screens
 @1x images (iPad 2) when coming from retina-only iPhone app ▸ Take your time with UISplitView ▸ Design “Compact First”
  66. Scale iPhone App to iPad Recap ▸ Switch to “Universal

    App” ▸ Support all orientations
  67. Scale iPhone App to iPad Recap ▸ Switch to “Universal

    App” ▸ Support all orientations ▸ Use Launch Screen
  68. Scale iPhone App to iPad Recap ▸ Switch to “Universal

    App” ▸ Support all orientations ▸ Use Launch Screen ▸ Enable Auto Layout
  69. Scale iPhone App to iPad Recap ▸ Switch to “Universal

    App” ▸ Support all orientations ▸ Use Launch Screen ▸ Enable Auto Layout ▸ Use Size Classes
  70. Scale iPhone App to iPad Recap ▸ Switch to “Universal

    App” ▸ Support all orientations ▸ Use Launch Screen ▸ Enable Auto Layout ▸ Use Size Classes ▸ Scale away!
  71. Scale iPhone App to iPad Further Reading ▸ Adaptive User

    Interfaces
 ▸ iOS Human Interface Guidelines
 ▸ Auto Layout Guide
 ▸ Ray Wenderlich – Auto Layout Tutorial in iOS 9 Part 1 & 2 http://www.raywenderlich.com/115440/auto-layout-tutorial-in-ios-9-part-1-getting-started-2 https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/ MobileHIG/index.html https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/ AutolayoutPG/index.html https://developer.apple.com/design/adaptivity/