Nav and Header Bars on iOS simulator ?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Nav and Header Bars on iOS simulator ?
Hi,
Playing for the 1st time with navigation and header bars,
I can't managed to have them working on the simulator
but they are fine on my iPad.
Screenshot below.
What do I have to do to make them working?
Left: original stack in LC 8.1.3
Right: iOS 10.2 Simulator iPhone 6
Thanks for any hints,
Thierry
Playing for the 1st time with navigation and header bars,
I can't managed to have them working on the simulator
but they are fine on my iPad.
Screenshot below.
What do I have to do to make them working?
Left: original stack in LC 8.1.3
Right: iOS 10.2 Simulator iPhone 6
Thanks for any hints,
Thierry
Last edited by Thierry on Fri Feb 03, 2017 10:39 am, edited 1 time in total.
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!
-
- Livecode Staff Member
- Posts: 818
- Joined: Fri Feb 06, 2015 4:03 pm
Re: Nav and Header Bars on iOS simulator ?
Hi Thierry,
It seems like those two widgets are not included in the standalone. I suggest you choose "Select Inclusions" in the "General" pane of the Standalone Application Settings, and then go to "Inclusions" pane and make sure that the nav bar and header bar inclusions are checked.
However, this does not explain why you see them on the device but not in the simulator, but it is worth trying this suggestion.
Best,
Panos
--
It seems like those two widgets are not included in the standalone. I suggest you choose "Select Inclusions" in the "General" pane of the Standalone Application Settings, and then go to "Inclusions" pane and make sure that the nav bar and header bar inclusions are checked.
However, this does not explain why you see them on the device but not in the simulator, but it is worth trying this suggestion.
Best,
Panos
--
Re: Nav and Header Bars on iOS simulator ?
Thanks for the suggestion Panos,LiveCode_Panos wrote:Hi Thierry,
It seems like those two widgets are not included in the standalone. I suggest you choose "Select Inclusions" in the "General" pane of the Standalone Application Settings, and then go to "Inclusions" pane and make sure that the nav bar and header bar inclusions are checked.
Doesn't work
BUT, including also "SVG icon", and "icon SVG library" does the trick !!!!
Hmm, looks like a bug for meHowever, this does not explain why you see them on the device but not in the simulator,
but it is worth trying this suggestion.
--
Thanks for your prompt answer,
Kind regards,
Thierry
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!
-
- Livecode Staff Member
- Posts: 818
- Joined: Fri Feb 06, 2015 4:03 pm
Re: Nav and Header Bars on iOS simulator ?
Hi Thierry,
If you have no SVG widget in your stack, would you mind filing a bug at http://www.quality.livecode.com/ and include your sample stack?
Best,
Panos
--
Hmm, this is interesting. Looks like a bug. Do you by any chance have any SVG widget in your stack? IIRC there is a bug where if you add widget X and then widget Y in your stack, but in the Inclusions you check *only* widget X, then no widget is displayed at all in the standalone. But if you check widget Y as well, the problem is fixed.Doesn't work
BUT, including also "SVG icon", and "icon SVG library" does the trick !!!!
If you have no SVG widget in your stack, would you mind filing a bug at http://www.quality.livecode.com/ and include your sample stack?
Best,
Panos
--
Re: Nav and Header Bars on iOS simulator ?
Hi Panos,LiveCode_Panos wrote:Hi Thierry,
Hmm, this is interesting.including also "SVG icon", and "icon SVG library" does the trick !!!!
Looks like a bug. Do you by any chance have any SVG widget in your stack?
IIRC there is a bug where if you add widget X and then widget Y in your stack,
but in the Inclusions you check *only* widget X, then no widget is displayed at all in the standalone.
But if you check widget Y as well, the problem is fixed.
If you have no SVG widget in your stack, would you mind filing a bug at
http://www.quality.livecode.com/ and include your sample stack?
Check again my 1st post with the image.
I've done the minimum possible:
Mac Sierra, LC 8.1.3 (RC 1).
New stack
drop a nav bar
drop a header bar
drop a button, a field and a label
no scripts and Bingo.
2nd try, I did add a stack script:
Code: Select all
local isMobile
on preOpenStack
put (the environment is "mobile") into isMobile
if isMobile then
set the fullscreenmode of this stack to "exactFit"
send "initMobile" to me in 1 ticks
end if
end preOpenStack
private on initMobile
lock screen
set the acceleratedrendering of this stack to true
set the compositorType of this stack to "coregraphics"
end initMobile
Third try with the recipe I talked in my previous post did the trick.
HTH,
Thierry
PS: for the bug report, I"m sorry but can't do it right now.
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!
-
- Livecode Staff Member
- Posts: 818
- Joined: Fri Feb 06, 2015 4:03 pm
Re: Nav and Header Bars on iOS simulator ?
Thanks Thierry. I will try your recipe and file a bug myself if I can reproduce it.
Re: Nav and Header Bars on iOS simulator ?
Great.LiveCode_Panos wrote:Thanks Thierry. I will try your recipe and file a bug myself if I can reproduce it.
and I have a clean install of LC 8.1.3 without any plugins or whatsoever.
HTH,
Thierry
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!
-
- Livecode Staff Member
- Posts: 818
- Joined: Fri Feb 06, 2015 4:03 pm
Re: Nav and Header Bars on iOS simulator ?
Hi Thierry,
Unfortunately I cannot reproduce this issue. I have the same setup with you, and the nav bar and header bar are displayed as expected in the iPhone 6 simulator. I have only "header bar" and "nav bar" checked in the "Inclusions".
We are happy to investigate this further if you want to attach your stack here, or at http://www.quality.livecode.com/ when you have time.
Best,
Panos
--
Unfortunately I cannot reproduce this issue. I have the same setup with you, and the nav bar and header bar are displayed as expected in the iPhone 6 simulator. I have only "header bar" and "nav bar" checked in the "Inclusions".
We are happy to investigate this further if you want to attach your stack here, or at http://www.quality.livecode.com/ when you have time.
Best,
Panos
--
Re: Nav and Header Bars on iOS simulator ?
Hi Panos,LiveCode_Panos wrote:Hi Thierry,
We are happy to investigate this further if you want to attach your stack here, or at http://www.quality.livecode.com/ when you have time.
--
Sorry for the delay but here is my today's bug report:
http://www.quality.livecode.com/show_bug.cgi?id=19298
Tested with LC 8.1.3 stable
Regards,
Thierry
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!