Check Mobile App
Read now
Start a Project

Run your Code In Main Thread in iOS

Save

Run your Code In Main Thread in iOS

When you are creating UIVIEW dynamically without using the storyboard then sometimes your app gets in background thread. And your application gets stuck for a few seconds to resolve this put your code in the main thread. So that your uiview run in the main thread. It will not effect the background tasks that are already running.

 

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

css.php

The support is fast and do everything in their power to make it perfect. If you need customization it's also done right away. I had massive research to select Mobikul and now I'm sure it was the right one.

Igor Souza

Igor Souza

Talk to Sales

Global

Live Chat
Start a Project

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home