Below is my code and I am trying to get signal strength through status bar.
UIApplication *app = [UIApplication sharedApplication];
NSArray *subviews = [[[app valueForKey:@"statusBar"] valueForKey:@"foregroundView"] subviews];
Crash occurred on (iOS 11, Xcode 9, iPhone X):-
[UIStatusBar_Modern valueForUndefinedKey:]: this class is not key value coding-compliant for the key foregroundView