Since I installed Xcode 4.2 in order to test iOS 5. I got the following warning after compile the project.
"Using the font Arial - Black in version of Xcode prior to 4.2 may have unexpected results."
And also I could not change the font because it will be crashed when I press the font menu.
Any suggestion?
Thanks.
To add a font file to your Xcode project, select File > Add Files to “Your Project Name” from the menu bar, or drag the file from Finder and drop it into your Xcode project. You can add True Type Font (. ttf) and Open Type Font (. otf) files.
In IB, click on the File Inspector (first icon in the Utility View) and under "Document Version" change the Development value to 4.2 (or greater).
I had same problem, but I changed the Font of the control from interface builder to "system". Then I programmatically set the font, I wanted to display, using setFont method. Its working fine for me. I hope it should work for you too.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With