Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Nov 13, 2008, 09:29 AM   #1
shilpapatil
macrumors newbie
 
Join Date: Nov 2008
NSThread.

Hi all,
in my main thread i am showing alertview, and i have created another thread using "- (id)initWithTargetid)target selectorSEL)selector objectid)argument" this method.In this thread i am doing connection to server.whenever i click cancel button which is in alert view i have to cancel the thread which i have created to conect to server.I am canceling that thread using cancel method which can be called on thread,but program will give bad excess or sometimes hangs off.
shilpapatil is offline   0 Reply With Quote
Old Nov 13, 2008, 09:41 AM   #2
robbieduncan
Moderator
 
robbieduncan's Avatar
 
Join Date: Jul 2002
Location: London
I've having trouble working out exactly what you've done. The best way to get help is probably to post some code...
robbieduncan is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Forum Jump

All times are GMT -5. The time now is 05:01 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC