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

SearchBar is not displayed on iOS8 #117

Open
jasonbodie opened this issue Apr 26, 2016 · 1 comment
Open

SearchBar is not displayed on iOS8 #117

jasonbodie opened this issue Apr 26, 2016 · 1 comment

Comments

@jasonbodie
Copy link

We are only using one service and not setting the initialSearchTerm.

Debugging looks like the height of the searchBar is set to 0.

Calling [searchBar sizeToFit] during the DZNPhotoDisplayViewController setup code seems to resolve the problem. Also, obviously just setting the height of the searchbar also resolves the problem. I'm currently working to understand why the two versions of iOS behave differently. But for now I'll probably just use the sizeToFit option.

@dennislysenko
Copy link
Contributor

dennislysenko commented May 13, 2016

+1, important issue for iOS8 support. Additionally, for completeness and/or diagnosing:

  • the bug does not occur on cocoapods version, but on tip of master branch. It was caused by commit 417f09f.
  • the search bar is also hidden when setting the initialSearchTerm.

Referenced PR #118 fixes it.

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

No branches or pull requests

2 participants