I need to hide/show status bar in Unity game for iOS, specially in case of Facebook. As per their new rule whenever app is opened from facebook we need to show status bar and give option of "back to facebook" as done in all other apps.
[UIApplication sharedApplication] setStatusBarHidden:YES]; is deprecated in iOS 9.
** -(BOOL)prefersStatusBarHidden {return isHidden;}** Above code needs to be added in ViewController but I cannot add this in unity's by default viewcontroller. Is there any way I can show/hide status bar