Page 1 of 1
iphoneActivityIndicator
Posted: Tue Jan 17, 2012 12:19 pm
by masterfab
Hi,
I'm a newbie in LiveCode for iOS and I can't displaying an Activity Indicator !
This simple code doesn't work :
Code: Select all
on openCard
iphoneActivityIndicatorStart
end openCard
Can you help me please ?
Best regards.
Re: iphoneActivityIndicator
Posted: Tue Jan 17, 2012 12:37 pm
by macnomad2
it works
Maybe in the wrong handler
Maybe because the default one is centered and white (on white ?)
Georges
Of course it works only on an idevice or the simulator
Re: iphoneActivityIndicator
Posted: Tue Jan 17, 2012 1:06 pm
by masterfab
Thank you macnomad2 for your rapid answer !
You are right. It was white on white !
But the dictionary says :
If a location is not specified, then the animation is positioned in the middle of the screen.
It seems that is not true.
Is it the same for you too ?
Re: iphoneActivityIndicator
Posted: Tue Jan 17, 2012 2:05 pm
by macnomad2
yes, for me it is in the middle of the card window, but I always specified a better place for my app depending on my design.
Happy it works !
Re: iphoneActivityIndicator
Posted: Sat Jun 30, 2012 12:33 pm
by teacherguy
I am finding that sometimes it works, and when used in other handlers it does not show. I've check to be sure I'm not "white on white"
Anyone finding any quirks?
UPDATE: I found that putting "wait 10" immediately after the command causes it to show in the handlers where it previously was not.