Skip to content
This repository has been archived by the owner on Nov 29, 2022. It is now read-only.

size to fit the search bar initially to set height and width #118

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jasonbodie
Copy link

Fix for: #117

@dennislysenko
Copy link
Contributor

Can confirm this fixes #117, just tested with iPhone 5 on iOS 8.4.

@@ -187,6 +187,7 @@ - (UISearchController *)searchController
searchBar.selectedScopeButtonIndex = 0;
searchBar.clipsToBounds = NO;
searchBar.delegate = self;
[ searchBar sizeToFit ];
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you get rid of the space between brackets please?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants