iphone - UIGraphicsBeginImageContextWithOptions undeclared -
greetings!
i'm attempting build iphone application makes use of ios4-only function: 'uigraphicsbeginimagecontextwithoptions'.
i'm building iphone device 3.1.3 in xcode 3.2.1 , getting errors function not being defined.
this stackoverflow page showed me should link weakly against uikit , check function null, doing this:

however, build still fails with: 
anyone have idea?
you need build against ios 4.x sdk, otherwise compiler has no knowledge of function.
Comments
Post a Comment