tags:

views:

80

answers:

1

I'm trying to use CTFont in an iPhone app. I have :-

  1. Added the CoreText framework
  2. Added #import "CoreText/CoreText." to the file I am trying to use CTFont in.

However the compiler is saying that "CTFont undeclared"

??? what am I missing?

A: 

You should #import <CoreText/CoreText.h>

xan