chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
01/19/14 10:32 PM (11 years ago)

iOS 6 strange refreshing issue

Wondering if anyone else has noticed this on a new download? On my current project (which is to test plugins), if I run it in iOS 6 in the simulator it looks fine. But if I press the refresh button on the home screen, the navbar gets pushed up underneath the status bar.
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
01/20/14 12:23 AM (11 years ago)
If the plugin uses a xib file, you may need to make a few adjustments to the xib in the 'file inspector' portion to change the 'build for' behavior. I've had to create different xibs because of that. If the plugin is creating the UI in code, I can't be sure... Cheers! -- Smug
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
01/20/14 12:24 AM (11 years ago)
no xib file - happens at least with the Menu Buttons and Menu Image Advanced plugins. Haven't really tested any others yet.
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
01/20/14 12:25 AM (11 years ago)
It also persists across screens, so I doubt it's any plugin's fault.
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
01/20/14 12:42 AM (11 years ago)
Hmm… in that case, I'm at a loss. But if I see anything interesting, I'll let you know. Cheers! -- Smug
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
01/20/14 02:12 AM (11 years ago)
Yes, my iPhone 5 is still on iOS 6 and I see it too. I built a very simple app on the BT hosted setup that shows it, with no mods to anything.
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
01/20/14 07:37 AM (11 years ago)
Ok thanks for confirming!
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
01/20/14 09:47 AM (11 years ago)
Look around line 360 of the BT_viewController.m file. You should see: //[self.navigationController.navigationBar setFrame:rect]; Remove the two slashes at the beginning of that line and it should fix the problem
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
01/21/14 06:59 AM (11 years ago)
Yep, that works, both IOS 6 and IOS 7 are now OK, many thanks Chris. For self hosted, what has to happen to make this fix permanent? Does it need a re-release or once David fixes, does it just 'appear' next time code is downloaded? Alan
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
01/21/14 07:30 AM (11 years ago)
You won't have to do anything once David updates the core
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.