title: On iPhone X app crashes for the reason 'NSUnknownKeyException', reason: '[<UIStatusBar_Modern
body: <p>My app has a storyboard and it built in Objective C. This app works fine on all other devices but only for iPhone x it crashes for the reason:</p>
  
  <blockquote>
    <p>Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[&lt;UIStatusBar_Modern 0x7fcc73e0d680> valueForUndefinedKey:]: this class is not key value coding-compliant for the key foregroundview.'</p>
  </blockquote>
  
  <p>I tried all the solutions I found but yet no result.</p>