Skip to content

Commit

Permalink
document configureFlatButtonsWithColor:highlightedColor:cornerRadius:…
Browse files Browse the repository at this point in the history
…whenContainedIn:
  • Loading branch information
damienklinnert committed May 24, 2013
1 parent 952537a commit c4d14af
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,15 @@ To customize bar button items for your entire application (including back button
![FUINavBar](http://blog.joingrouper.com/FlatUIKit/images/fuinavbar-small.gif)
However, this might cause rendering issues with controllers that are pushed from actionsheets, sharesheets or links in webviews. To prevent this behavior, scope the customized bar buttom items to your controllers:
```objective-c
[UIBarButtonItem configureFlatButtonsWithColor:[UIColor peterRiverColor]
highlightedColor:[UIColor belizeHoleColor]
cornerRadius:3
whenContainedIn:[YourViewController class]];
```

### Navigation Bars
As above, we provide a category on UINavigationBar to configure it flatly with a single color:

Expand Down

0 comments on commit c4d14af

Please sign in to comment.