Skip to content

Commit

Permalink
Apply search bar fix to iOS 6/7 as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Ernesto Rivera committed Sep 18, 2014
1 parent e28385a commit 3634b64
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Source/PTEConsoleTableView.m
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,8 @@ - (void)willMoveToWindow:(UIWindow *)newWindow
{
[super willMoveToWindow:newWindow];

// iOS 8 fix (http://stackoverflow.com/a/25788774/1049134)
if (SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(@"8.0"))
{
[_searchBar sizeToFit];
}

// Search bar fix (http://stackoverflow.com/a/25788774/1049134)
[_searchBar sizeToFit];
}

- (void)setLogger:(PTEConsoleLogger *)logger
Expand Down

0 comments on commit 3634b64

Please sign in to comment.