1

This is the error message

enter image description here

I have imported Foundation but it did not fix the problem. What import am I missing?

Anthony Kong
  • 37,791
  • 46
  • 172
  • 304

2 Answers2

4

IKImageView class is in Quartz.framework . Add this framework to your project and Import this framework import Quartz.

Yatheesha
  • 10,412
  • 5
  • 42
  • 45
2

every class's documentation has the info 'Framework' which tells you what you need

so from the docs for this class, it is:
"System/Library/Frameworks/Quartz.framework/ImageKit.framework"

  1. link against the top framework - Quartz
  2. import it
Community
  • 1
  • 1
Daij-Djan
  • 49,552
  • 17
  • 113
  • 135