Top Title Margin

I am testing my app in ionic view but top title doesn’t come right.

This is how its showing (which is wrong)

And this is how this should come (which is right)

How do i fix this issue, anyone please advice.

Thanks

hi ,
check this topic

Hello, Thanks for the reply but i dont find ios.json file in plugins or anywhere is whole project folder … please note i am on Windows 8.1 … what to do?

You could also set a preference in config.xml:

<preference name="StatusBarOverlaysWebView" value="false"/>

I added this in config.xml still not working … :frowning: … what can be the issue, any other way?

hi,

try to install 2 plugins

  1. cordova plugin add org.apache.cordova.device
  2. cordova plugin add org.apache.cordova.statusbar

and read this docs for more instructions

https://github.com/apache/cordova-plugin-statusbar/blob/master/doc/index.md

or
http://ngcordova.com/docs/plugins/statusbar/

Hey, thanks again for your reply, i installed both the plugins and did exactly described in the document but for me its still not working … i don’t know whats wrong but thanks a million for all your help, really appreciated … can i send you www folder to see whats wrong? only if possible.

you can ,

i did a little research and its more a cordova thing then ionic .
if you have xcode you can follow this link;
http://stackoverflow.com/a/18886468

if you dont have try follow this link i didnt try ;
http://coenraets.org/blog/2013/09/phonegap-and-cordova-with-ios-7/

Hey guys, so this is actually an issue with the view app. Some more detail can be found here.

https://github.com/driftyco/ionic-view-issues/issues/9

So the padding will be applied correctly if you were to test the app not in the view app.
Until the app store approves the update, it’s something you have to deal with.
Sorry for the inconveniences

1 Like

Hi @mhartington and thanks for the info … i almost got mad in banging my head into it … @ItamarCohen thank a lot for all your help and time.

2 Likes