0

I develop iOS app with Cordova and Framework7.

But i cant hide status bar. I tried many suggestions but I could not. check here blue background status bar

How can i disable? I want fullscreen app

Mahir S.
  • 29
  • 4
  • Have you tried the suggestions here: https://stackoverflow.com/questions/28546873/cordova-phonegap-ignores-fullscreen-preference-in-config-xml-on-ios – eb1 Nov 02 '16 at 22:21
  • [The information in the following link on stack overflow worked for me. You will need to place the code into Xcode. It is native code, but not hard to implement. Good Luck. -Rachel (http://stackoverflow.com/questions/19209781/ios-7-status-bar-with-phonegap/19884333#19884333)] – user1204493 Nov 03 '16 at 02:35
  • http://stackoverflow.com/questions/34795921/how-to-completely-hide-the-status-bar-in-ios-using-cordova – Naitik Nov 03 '16 at 05:54
  • for better result please test in real device.... – Naitik Nov 03 '16 at 05:55

1 Answers1

0

You can hide your status bar using native xcode changes like below

In the project setting

General

  • Tick Hide Status Bar to true at bottom

info.plist

  • Add new row View-controller based status bar with value no

Updated

Add this line to your config file and rebuild your app

<preference name="fullscreen" value="true" /> 
Kirankumar Dafda
  • 2,354
  • 5
  • 29
  • 56