UI hangs up for few seconds in iOS 6
<p>My app works well most of the time. The problem arises when I go to iOS6 device settings > Developer > Network Link Conditioner Status > Enable ON > Select the profile to 100 % Loss. When this profile is chosen, UI hangs up and becomes unresponsive for few seconds and then starts behaving normally.I am not able to find any reason behind this. Is there anyone who is coming across the same situation? If yes, then what measures were taken by you?</p>

<p>I think the following piece of code is creating trouble while trying to post to twitter using iOS 5 Accounts framework without using TweetSheet.The request is TWRequest here. The performRequest method is not guranteed to be called at any fixed particular thread as per Apple docs. How can I call this method on the main thread? Will it help?</p>

<pre><code> [request performRequestWithHandler:

     ^(NSData *responseData, NSHTTPURLResponse *urlResponse, NSError *error) {

         if(responseData)
         {
             //Do twitter stuff
         }
 }];   
</code></pre>
