Hi, I am using the external fonts capability for my application. As external fonts are not supported in 3.1 version I would like to define the font name in relation with the IOS that is executing the program. I have defined MY_FONT_NAME variable in a Constants.h file like this:
//#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_3_2
#ifdef __IPHONE_3_2
#define MY_FONT_NAME @"ExternalFontName"
#else
#define MY_FONT_NAME @"AppleGothic"
#endif
I have tried both, the first commented line and the second, without success but it always get the value of "externalFontName", even executing on a 3.1 device... and so, when I set the font in a label I get the error
'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: font != nil'
Anyone know what is the problem?? Thanks in advance