I try change the size and font of button, but the changes don't work!
I try using Interface Build, and after delete and test again with this code:
[botaoCadastrar.titleLabel setFont:[UIFont fontWithName:@"MyriadPro" size:18]];
But don't work!
I followed this tutorial:
The solution for that is to add your fonts to your app, so you will have a unique app design. To do so, simply follow these steps:
1 - Add your font files to your project in XCode (The files should appear as well in “Target -> Build Phases -> Copy Bundle Resources”).
2 - In your “Info.plist” file, add the key “Fonts provided by application” with type “Array”.
3 - For each font you want to add to your project, create an item for the array you have created with the full name of the file including its extension (e.g. myfont.ttf).
4 - Save your “Info.plist” file.