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

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -