NSURLConnection
objects allow you to load the contents of a url by providing a
URL request object.There are two ways of use of NSURLConnection
class one is asynchronous and second is synchronous . In asynchronous
connection request create a new thread and performs it download
process on new thread so that it not block the main thread .In
synchronous connection run on main thread while downloading content
and doing its communication .
Markdown for AI
A clean, structured version of this page for AI assistants and LLMs.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
NSURLConnection objects allow you to load the contents of a url by providing a URL request object.There are two ways of use of NSURLConnection class one is asynchronous and second is synchronous . In asynchronous connection request create a new thread and performs it download process on new thread so that it not block the main thread .In synchronous connection run on main thread while downloading content and doing its communication .