“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”];