BFNavigationBarDrawer(iPhone源代码)
- K5_464992了解作者
- 26.9KB文件大小
- rar文件格式
- 0收藏次数
- VIP专享资源类型
- 0下载次数
- 2022-06-15 18:14上传日期
来源:github/BFNavigationBarDLicence:BSD New作者:Balázs Faludi
点击导航栏上的按钮,下拉弹出菜单。

A180113534-26672.rar
内容介绍
# BFNavigationBarDrawer
| *With* automatic scroll view adjustment | *Without* scroll view adjustment |
| ------------- | -----|
|  |  |
Summary
-------
BFNavigationBarDrawer is a UIToolbar subclass that can easily be displayed below a UINavigationBar, similarly to the playlist view in the Music app. You can also assign a scroll view (or table view) to the drawer. The drawer will take care of moving the scroll view's content down and updating its contentInset property, when the drawer is displayed.
Instructions
------------
Create a Podfile, if you don't have one already. Add the following line.
pod 'BFNavigationBarDrawer'
Run the following command.
pod install
Alternatively, you can just drop the `BFNavigationBarDrawer.{h,m}` files into your project.
Create a drawer instance and assign a scroll view that should be scrolled by the drawer:
drawer = [[BFNavigationBarDrawer alloc] init];
drawer.scrollView = self.tableView;
Add some UIBarButtonItems to it and when you want to display it, call:
[drawer showFromNavigationBar:self.navigationController.navigationBar animated:YES];
To hide it:
[drawer hideAnimated:YES];
Notes
------------
I only tested with iOS 7. It doesn't make a lot of sense to use it with earlier iOS versions, as navigation bars used to be opaque and you could simply resize the scroll view to make room for an additional header bar.
License
-------
[New BSD License](http://en.wikipedia.org/wiki/BSD_licenses). For the full license text, see [here](https://raw.github.com/DrummerB/BFNavigationBarDrawer/master/LICENSE).
评论



相关推荐
- learn-git_github学习git_github git hub非常有用,我喜欢 这是一个新功能 这是另一段无意义的代码行
- Git_GitHubGit_GitHub
- Git和GitHubGit和GitHub
- Git和GitHub教程Git和GitHub教程,用于代码同步很好的资料,你值得拥有
- 完全学会GIT GITHUB GIT SERVER的24堂课.rar完全学会GIT GITHUB GIT SERVER的24堂课
- FirstGitHub:git上传测试git基本操作 从GitHub上克隆代码 git clone [url] 从GitHub或者gitee上克隆代码 git pull 从GitHub更新克隆的代码 本地操作GitHub git init 在对应的文件夹git init创建git库 git status 查看项目的当前状态。记住...
- 完全学会git github gitserver的24堂课完全学会git github gitserver的24堂课。介绍仓库git的操作和知识
- github-git-crash-course:以此为例学习使用github和git#MyApp这是我的应用
- git-githubgit-github的 这是教程过程。
- git-github的git-github的 这是我第一次接触github
最新资源