Lc 5.5.4 Xcode 6 all good but ios browser bug?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 23
- Joined: Sat Jul 09, 2011 10:03 am
Lc 5.5.4 Xcode 6 all good but ios browser bug?
I've upgrade to 6.1 and Xcode 4.6 and 5.5.4 plays nicely which is great, but...
Only in the simulator?
The problem is with the ios native browser. My app worked in 5.5.3
But is Broken in the newest release.
I don't know if its a bug. But no matter what I load my app onto iPhone 4S, ipad mini or ipad 3
It crashes after the card is open and the browser is displayed.
I can't find any thing in the pre open card or open card or reopen stack that cause the problem
Everything works well until the end when nothing else happens.
As I said its fine in the simulator but crashes on real hardware.
Anyone else can confirm this is a problem?
Cheers James
Only in the simulator?
The problem is with the ios native browser. My app worked in 5.5.3
But is Broken in the newest release.
I don't know if its a bug. But no matter what I load my app onto iPhone 4S, ipad mini or ipad 3
It crashes after the card is open and the browser is displayed.
I can't find any thing in the pre open card or open card or reopen stack that cause the problem
Everything works well until the end when nothing else happens.
As I said its fine in the simulator but crashes on real hardware.
Anyone else can confirm this is a problem?
Cheers James
-
- VIP Livecode Opensource Backer
- Posts: 23
- Joined: Sat Jul 09, 2011 10:03 am
Re: Lc 5.5.4 Xcode 6 all good but ios browser bug?
I'll try the sample for the browser that comes with lc and post results.
Re: Lc 5.5.4 Xcode 6 all good but ios browser bug?
Thanks for the alert. My apps rely strongly on this feature. Now I am afraid of using 5.5.4 until you reassure us !
-
- VIP Livecode Opensource Backer
- Posts: 157
- Joined: Thu Jun 29, 2006 4:16 pm
Re: Lc 5.5.4 Xcode 6 all good but ios browser bug?
Just a quick thought... I've had that crash happen during development when I left the old version of the app on the iPad and let the install process replace it. So, now I manually delete a version of the app before I put the new one on the iPad.
-
- VIP Livecode Opensource Backer
- Posts: 23
- Joined: Sat Jul 09, 2011 10:03 am
Re: Lc 5.5.4 Xcode 6 all good but ios browser bug?
The plot thickens
The example mobile browser app is ok and works on ipad mini. That's the good news.
As for deleting the app completely and installing complete new version, thnk you for the heads up, but Unfortuantely it didn't work. So the bug is abit deeper.
I'll keep on digging. I have a feeling it may be based around some of the environment settings. I'll let you know if I find it.
Cheers
The example mobile browser app is ok and works on ipad mini. That's the good news.
As for deleting the app completely and installing complete new version, thnk you for the heads up, but Unfortuantely it didn't work. So the bug is abit deeper.
I'll keep on digging. I have a feeling it may be based around some of the environment settings. I'll let you know if I find it.
Cheers
-
- VIP Livecode Opensource Backer
- Posts: 23
- Joined: Sat Jul 09, 2011 10:03 am
Re: Lc 5.5.4 Xcode 6 all good but ios browser bug?
I'm losing it.
Tell me the right answer here
If I'm on a card "start"
And in a button on card start i have code
=======================
Goto card "next"
Answer "does this pop up appear"
====================
Does the answer command work
I always thought it didn't because the instruction flow went to the "next" card
And continued there?
Is this what everyone expects?
Or do y ou expect the rest of the code in the button to execute as well as going to the card?
Ie the answer command to execute?
Please help
Tell me the right answer here
If I'm on a card "start"
And in a button on card start i have code
=======================
Goto card "next"
Answer "does this pop up appear"
====================
Does the answer command work
I always thought it didn't because the instruction flow went to the "next" card
And continued there?
Is this what everyone expects?
Or do y ou expect the rest of the code in the button to execute as well as going to the card?
Ie the answer command to execute?
Please help
Re: Lc 5.5.4 Xcode 6 all good but ios browser bug?
It's what I would expect.
The on mouseUp handler should finish after the preOpenCard and openCard scripts.
Simon
The on mouseUp handler should finish after the preOpenCard and openCard scripts.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
-
- VIP Livecode Opensource Backer
- Posts: 23
- Joined: Sat Jul 09, 2011 10:03 am
Re: Lc 5.5.4 Xcode 6 all good but ios browser bug?
Ok it's a bug in my code
I use a generic touchend command to make a generic menu respond pretty
Problem is when the command in the menu takes me to a different card
The touchend on the first card still fires but refers to
An environment that has now changed.
The browser is all good.
I'm the one thats broken
Thanks all for your help
I use a generic touchend command to make a generic menu respond pretty
Problem is when the command in the menu takes me to a different card
The touchend on the first card still fires but refers to
An environment that has now changed.
The browser is all good.
I'm the one thats broken

Thanks all for your help
Re: Lc 5.5.4 Xcode 6 all good but ios browser bug?
Try adding a location to your touchEnd like:
on touchEnd
set the loc of grp "menu" of this cd to 0,0,0,0
That "of this cd" will prevent an error when you move to the "next" cd
Simon
on touchEnd
set the loc of grp "menu" of this cd to 0,0,0,0
That "of this cd" will prevent an error when you move to the "next" cd
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!