iphoneActivityIndicator

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
masterfab
Posts: 8
Joined: Fri Jan 13, 2012 10:32 am

iphoneActivityIndicator

Post by masterfab » Tue Jan 17, 2012 12:19 pm

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.

macnomad2
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 63
Joined: Sat Oct 28, 2006 10:04 pm

Re: iphoneActivityIndicator

Post by macnomad2 » Tue Jan 17, 2012 12:37 pm

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

masterfab
Posts: 8
Joined: Fri Jan 13, 2012 10:32 am

Re: iphoneActivityIndicator

Post by masterfab » Tue Jan 17, 2012 1:06 pm

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 ?

macnomad2
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 63
Joined: Sat Oct 28, 2006 10:04 pm

Re: iphoneActivityIndicator

Post by macnomad2 » Tue Jan 17, 2012 2:05 pm

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 !

teacherguy
Posts: 379
Joined: Thu Dec 08, 2011 2:43 am

Re: iphoneActivityIndicator

Post by teacherguy » Sat Jun 30, 2012 12:33 pm

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.

Post Reply