altering font size and style in PickerView sections [closed]

You get the fonts using this loop:

NSMutableArray *fontNames = [NSMutableArray array];

for(NSString *familyName in [UIFont familyNames]) {
    for(NSString *fontName in [UIFont fontNamesForFamilyName:familyName]) {
        [fontNames addObject:fontName];
    }
}

How you present the picker depends on your UI layout. You might use an UITableView in an UIPopoverController (just google it, you’ll find TONS of quite good tutorials) or an UIPickerView.

Browse More Popular Posts

Leave a Comment