How to call a function in background in Xcode(iPhone)?

By | January 5, 2013

“performSelectorInBackground” will call anyfunction to execute in background and you can also pass string parameters with this method or if you want to pass more params then pass the parameters as an object.

[self performSelectorInBackground:@selector(myBackgroundMethod:) withObject:@”String Params”];

Leave a Reply

Your email address will not be published. Required fields are marked *