Read complete story

Run your Code In Main Thread in iOS

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.

 

. . .

Comment

Add Your Comment

Be the first to comment.

css.php
Hire Us!
Brief us about your requirements and we'll get back to you.
Woo! Hooy!
We have just recieved your project brief and our expert will contact you shortly.
Send Again
Close