Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如果NavigationBar是不透明的,当搜索历史超过屏幕后,“清空历史搜索”会拉不上来 #49

Closed
dengshunlai opened this issue Feb 9, 2017 · 3 comments

Comments

@dengshunlai
Copy link

如果NavigationBar是不透明的,当搜索历史超过屏幕后,“清空历史搜索”会拉不上来

@ko1o
Copy link
Owner

ko1o commented Feb 9, 2017

@dengshunlai 可否再描述一下。 或者配上Gif图片会更好说明问题,如果您已经有解决方案,欢迎PR!

@dengshunlai
Copy link
Author

在你的demo,PYSearchExampleController.m 文件第74行插入一句 nav.navigationBar.translucent = NO; 就会出现这个问题。
如下:
// 5. 跳转到搜索控制器
UINavigationController *nav = [[UINavigationController alloc] initWithRootViewController:searchViewController];
nav.navigationBar.translucent = NO;
[self presentViewController:nav animated:YES completion:nil];

@ko1o ko1o closed this as completed in 22ac65b Feb 11, 2017
@ko1o
Copy link
Owner

ko1o commented Feb 11, 2017

@dengshunlai 谢谢您的反馈,现在已经修复,欢迎下载最新版测试 或者 执行pod update 更新测试! 元宵节快乐!

hdeshmukh added a commit to hdeshmukh/PYSearch that referenced this issue Mar 16, 2017
* 'master' of https://github.com/iphone5solo/PYSearch: (50 commits)
  Bumped version to 0.7.3
  Fixed ko1o#65 which when hotSearches == nil, search history is not displayed and ko1o#64 which remove all space on the search text and delete UITableViewDataSource from protocols which the PYSearchViewControllerDataSource comply
  Fixed ko1o#62 Use searchViewController:didSearchWithsearchBar:searchText: and the search record will not be saved
  Bumped version to 0.7.2
  Update resources of PYSearch.bundle
  Changes in other popular search label (PYHotSearchStyleRankTag, PYHotSearchStyleRectangleTag) mode, click the clear button didn't refresh the UI (ko1o#59)
  Bumped version to 0.7.1
  Fixed ko1o#57 when the history search on top, the UI is not refreshed after the search histories are cleared
  Bumped version to 0.6.0
  Update README.md
  Support vertical and horizontal screen on iPad and iPhone
  Bumped version to 0.6.0
  Optimization code
  适配iOS7
  Supported swap hotSearch with searchHistory when PYSearchHistoryStyle != PYSearchHistoryStyleCell
  Fixed ko1o#52 the display of view when click on any of the hopSearchs to jump to the next view and click Back
  Bumped version to 0.5.9
  Fixed ko1o#49 the display of view when navigationBar.translucent is NO
  Bumped version to 0.5.8
  Fixed ko1o#47 Crash when using storyboard creation
  ...

# Conflicts:
#	PYSearch/PYSearchConst.m
#	PYSearch/PYSearchViewController.m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants