Wait with messages, lag...

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Googie85
Posts: 199
Joined: Tue Aug 05, 2014 10:07 am

Wait with messages, lag...

Post by Googie85 » Thu Sep 05, 2019 7:25 am

Hi Guys!

I am trying to use the "wait" command with the "with messages" parameter and whilst trying to show/hide images during the wait, it becomes laggy. Im hoping I have explained myself enough to get some response. All help would be greatly appreciated!

Many Thanks,

Googie.

SparkOut
Posts: 2852
Joined: Sun Sep 23, 2007 4:58 pm

Re: Wait with messages, lag...

Post by SparkOut » Thu Sep 05, 2019 7:42 am

Certainly you can get some response, but you might not get the answer you need without more details ;)

I think it is probably down to the fact that a wait is blocking. The with messages parameter allows the engine to generate and respond to messages, as well as some housekeeping. The wait command will still pause execution of the handler it is in for the specified duration.

You might need to consider changing your code to use a send in time construction rather than a wait. But details, and proper understanding of what is going on would need to be fed with views of your relevant code.

Post Reply

Return to “iOS Deployment”