Reputation: 9765
I need to use NSImage which appears need to be imported from <AppKit/AppKit.h>
. I have included the AppKit framework, and I do see AppKit.h
there. But I am still getting compilation error saying <AppKit/AppKit.h>
not found.
What I might missed ?
Thanks.
Upvotes: 2
Views: 5546
Reputation: 43462
AppKit is not available on the iPhone, nor is NSIMage. You need to bring in UIKit and use UIImage.
Upvotes: 5