title: Tried to obtain the web lock from a thread other than the main thread or the web thread
body: <p><strong>Tried to obtain the web lock from a thread other than the main thread or the web thread. This may be a result of calling to UIKit from a secondary thread. Crashing now...
  1   0x5122fe9 WebThreadLock
  2   0x17dfcf5 -[UIFieldEditor becomeFieldEditorForView:]
  .
  .
  .
  .</strong></p>
  
  <p>Im getting this error even when im using..  <strong>[self performSelectorOnMainThread:@selector(myMethod) withObject:nil waitUntilDone:YES];</strong> ... method
   Im using MBProgressHUD... im getting this error message in 2nd alertview.</p>
  
  <p>This link <a href="http://www.zebpedersen.co.uk/?p=1850" rel="nofollow">http://www.zebpedersen.co.uk/?p=1850</a> helped me to solve this error. If I use this im not getting progress view... progressHUD is mandatory..</p>
  
  <p>Any suggestions?</p>
  
  <p>Thanks in advance</p>