Alex Rivera | Logout

How can i convert UIFont to CGFontRef?I causes warning and not working

Asked 2010-08-23T08:21:22.447
10

i have declared a UIFont as delegate... and in another file i'm converting that delegate UIColor to CGColorRef by

CGColorRef *color = appdel.color.CGColor;
Edit
Report

1 Answer

26
CGFontRef cgFont = CGFontCreateWithFontName((CFStringRef)uiFont.fontName);
answered 2010-08-30T06:49:56.220

Your Answer