Since Objective-C is a very dynamic language, you can configure 2.x and request for 3.0 functions:
id pasteboard = [objc_getClass("UIPasteboard") generalPasteboard]; if (pasteboard) { NSLog(@"Got pasteboard, we're clearly on 3.0+"); } else { NSLog(@"Pasteboard not available, definitely 2.x"); }
source share