Perhaps one Iphone Guru can enlighten me...
I've been going line-by-line and eliminating any threads calls / NSInvocation's that use the UIKit, as a matter of fact, I have made 100% sure that NO UIKit crap gets called from any-where else except the MainThread I.E...
if([NSThread isMainThread])
{
blah....
Call UIKit Crap here!
and blah....
}
So far so good, but then after I created a thread to do a http POST (using LibCurl) I started getting this:
"void _WebThreadLockFromAnyThread(bool), 0x4d7bbe0: Obtaining the web lock from a thread other than the main thread or the web thread. UIKit should not be called from a secondary thread."
Like WTF...? I can't even Use Curl from a Thread, to do a Network Intensive Operation..? I just moved this damn thing, off the mainThread, to Comply with Their (Apple's) UIKit's strict, "Don't call any UIKit crap, except from the Main Thread...PERIOD or Else!!!"
So I move the "UiAlertView & UIActivityIndicator" back onto the main thread (No error messages before) and create a thread to do the curl POST operation... Now that I am in compliance, and then all of a sudden, I start getting this message...?
Can anyone explain where I am suppose to put this Network intensive operation, which, by the way, will cause the any UIActivity Indicator's / UIAlertView's to freeze in their tracks...
Thanks in Advance...
[I am just a linux programmer in sheep's clothing]