To quote from the documentation:
In iOS 4 and later, you may call this function from any thread of your
app.
More Related Contents:
- How to set a custom font for entire iOS app without specifying size
- What are best practices that you use when writing Objective-C and Cocoa? [closed]
- Aligning text and image on UIButton with imageEdgeInsets and titleEdgeInsets
- What properties can I set via an UIAppearance proxy?
- Can I edit the pixels of the UIImage’s property CGImage
- Make scrollbar always visible on UIScrollView?
- NSString to NSArray
- Correcting floating point numbers
- UIScrollView with “Circular” scrolling
- Get video NSData from ALAsset url iOS
- Finding the direction of scrolling in a UIScrollView?
- dismissModalViewController AND pass data back
- iPhone viewWillAppear not firing
- Is there any ready-made calendar control for iPhone apps? [closed]
- How to parse a date string into an NSDate object in iOS?
- How to register a custom app opening URL scheme with Xcode 4?
- How to allow only single UIViewController to rotate in both Landscape and Portrait direction?
- iOS – How to implement a performSelector with multiple arguments and with afterDelay?
- Grand Central Dispatch (GCD) vs. performSelector – need a better explanation
- Does UIGestureRecognizer work on a UIWebView?
- iOS – color on Xcode simulator is different from the color on device
- Switching to a TabBar tab view programmatically?
- NSDateFormatter dateFromString returns nil
- Specifying HTTP referer in embedded UIWebView
- How can I use private APIs to block incoming calls in an iOS application?
- Drag UIView around Shape Comprised of CGMutablePaths
- Can I restrict my iPhone app from being used by iPhone3G’s?
- sqlite database update when app version changes on Appstore in iPhone
- UIWebView – Enabling Action Sheets on tags
- Test app on iPhone without paying $99 to Apple [closed]