Skip to content

Commit

Permalink
Update BASIC-USAGE.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nikola-mladenovic authored Jun 16, 2016
1 parent ad0510d commit e43f2c7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions BASIC-USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,17 @@ ActionSheetStringPicker *colorPicker = [[ActionSheetStringPicker alloc] initWith
- `TapActionSuccess`
- `TapActionCancel`
#### Customize picker by setting background color or apply blur effect to the picker background:
- In order to set picker background color, use `pickerBackgroundColor` property:
```obj-c
ActionSheetStringPicker *picker = [[ActionSheetStringPicker alloc] initWithTitle:@"" rows:@[@"choiceA", @"choiceB", @"choiceC"] initialSelection:1 doneBlock:nil cancelBlock:nil origin:sender];
picker.pickerBackgroundColor = [UIColor blackColor];
```
- For applying blur effect to the picker's background , use `pickerBlurRadius` property. You can define custom blur radius, depending on your needs:
```obj-c
picker.pickerBlurRadius = @(10);
```
#### Other customisations:

look at `AbstractActionSheetPicker` properties:
Expand Down

0 comments on commit e43f2c7

Please sign in to comment.