So i'm stuck with this...
[[UIApplication sharedApplication] setStatusBarHidden:NO withAnimation:UIStatusBarAnimationNone];
}
...which Xcode says has been depreciated with iOS 9. How do I fix this?
So i'm stuck with this...
[[UIApplication sharedApplication] setStatusBarHidden:NO withAnimation:UIStatusBarAnimationNone];
}
...which Xcode says has been depreciated with iOS 9. How do I fix this?
Fix what? If your target is iOS 9, remove that line of code. If your target is earlier
devices, you'll need to perform a version check at runtime before that line of code
to decide if it can be used or not.
Fix what? If your target is iOS 9, remove that line of code. If your target is earlier
devices, you'll need to perform a version check at runtime before that line of code
to decide if it can be used or not.