Je suis en train d'utiliser CTFontCreateWithNameAndOptions()
de CoreText et l'éditeur de liens dit « Symbole (s) non trouvé », en particulier pour _CTFontCreateWithNameAndOptions
. J'ai ajouté CoreText.framework et j'importe <CoreText/CoreText.h>. Il compile bien, mais l'éditeur de liens échoue.linker ne peut trouver CTFontCreateWithNameAndOptions
Voici la déclaration CTFont.h:
CTFontRef CTFontCreateWithNameAndOptions( CFStringRef name, CGFloat size, const CGAffineTransform *matrix, CTFontOptions options) CT_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
Voici l'appel réel:
CTFontRef font = CTFontCreateWithNameAndOptions((CFStringRef)@"HelveticaNeue-Bold" , 14.0f , NULL , kCTFontOptionsDefault) ;
Tout le monde a des idées?
Mon application iOS est liée à l'infrastructure 4.2.
Apparemment, il pourrait ne pas exister: http://friendfeed.com/bobtiki/5955ec13/for-those-with-fruit-company-bug-access-radar?embed=1 – leftspin