Skip to content

Commit

Permalink
Handle transparent navigation bar in ios7. Fixes #62
Browse files Browse the repository at this point in the history
  • Loading branch information
nagrao committed Oct 15, 2013
1 parent 720d11d commit 9cdb2a9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions TokenFieldExample/Classes/TokenFieldExampleViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ @implementation TokenFieldExampleViewController {

- (void)viewDidLoad {

if ([self respondsToSelector:@selector(edgesForExtendedLayout)])
self.edgesForExtendedLayout = UIRectEdgeNone;

[self.view setBackgroundColor:[UIColor whiteColor]];
[self.navigationItem setTitle:@"Example"];

Expand Down

0 comments on commit 9cdb2a9

Please sign in to comment.