Closed stanmots closed 8 years ago
Here is a list of new customization options:
[[IQActionSheetPickerView appearance]setPickerViewBackgroundColor: [UIColor orangeColor]];
[[IQActionSheetPickerView appearance]setPickerComponentsColor: [UIColor grayColor]];
[[IQActionSheetPickerView appearance]setPickerComponentsFont: [UIFont systemFontOfSize:17.0]];
NSDictionary *attributesForNormalState = @{NSForegroundColorAttributeName: [UIColor redColor], NSFontAttributeName: [UIFont systemFontOfSize: 18.0] };
[[IQActionSheetPickerView appearance]setCancelButtonAttributes: @{ kAttributesForNormalStateKey: attributesForNormalState}];
And as a bonus: the picker can be dismissed now on a background (dimmed view) tap.
Here is a list of new customization options:
[[IQActionSheetPickerView appearance]setPickerViewBackgroundColor: [UIColor orangeColor]];
[[IQActionSheetPickerView appearance]setPickerComponentsColor: [UIColor grayColor]];
[[IQActionSheetPickerView appearance]setPickerComponentsFont: [UIFont systemFontOfSize:17.0]];
NSDictionary *attributesForNormalState = @{NSForegroundColorAttributeName: [UIColor redColor], NSFontAttributeName: [UIFont systemFontOfSize: 18.0] };
[[IQActionSheetPickerView appearance]setCancelButtonAttributes: @{ kAttributesForNormalStateKey: attributesForNormalState}];
And as a bonus: the picker can be dismissed now on a background (dimmed view) tap.