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:
Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIStatusBar_Modern 0x7fcc73e0d680> valueForUndefinedKey:]: this class is not key value coding-compliant for the key foregroundview.'
I tried all the solutions I found but yet no result.