title: Can I detect if screen is regular or compact from code on iOS 8?
body: <p>iOS 8 introduce new screen types that are usable in Storyboards and in Xibs, can I detect these types in code? If yes, how?</p>
  
  <p>Here you can find more about it <a href="https://developer.apple.com/library/content/releasenotes/General/WhatsNewIniOS/Articles/iOS8.html" rel="noreferrer">https://developer.apple.com/library/content/releasenotes/General/WhatsNewIniOS/Articles/iOS8.html</a></p>