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

By | December 10, 2012

“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 *