Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public override bool FinishedLaunching(UIApplication app, NSDictionary options)
- {
- // Nifty helper to get all fonts with the right names in your console
- #if DEBUG
- var fontList = new StringBuilder();
- var familyNames = UIFont.FamilyNames;
- foreach (var familyName in familyNames)
- {
- fontList.Append(String.Format("Family: {0}\n", familyName));
- Console.WriteLine("Family: {0}\n", familyName);
- var fontNames = UIFont.FontNamesForFamilyName(familyName);
- foreach (var fontName in fontNames)
- {
- Console.WriteLine("\tFont: {0}\n", fontName);
- fontList.Append(String.Format("\tFont: {0}\n", fontName));
- }
- };
- #endif
- // ... Rest of the initialisation code here
- }
Add Comment
Please, Sign In to add comment