{"id":1164,"url":"https://github.com/forkingdog/FDFullscreenPopGesture","last_synced_at":"2025-07-30T20:32:36.153Z","repository":{"id":32891077,"uuid":"36485560","full_name":"forkingdog/FDFullscreenPopGesture","owner":"forkingdog","description":"A UINavigationController's category to enable fullscreen pop gesture with iOS7+ system style.","archived":false,"fork":false,"pushed_at":"2021-07-08T17:06:04.000Z","size":1065,"stargazers_count":5894,"open_issues_count":111,"forks_count":1147,"subscribers_count":152,"default_branch":"master","last_synced_at":"2024-10-29T14:59:54.597Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/forkingdog.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-29T06:15:39.000Z","updated_at":"2024-10-25T16:09:56.000Z","dependencies_parsed_at":"2022-08-07T18:16:00.459Z","dependency_job_id":null,"html_url":"https://github.com/forkingdog/FDFullscreenPopGesture","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forkingdog%2FFDFullscreenPopGesture","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forkingdog%2FFDFullscreenPopGesture/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forkingdog%2FFDFullscreenPopGesture/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forkingdog%2FFDFullscreenPopGesture/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/forkingdog","download_url":"https://codeload.github.com/forkingdog/FDFullscreenPopGesture/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227698678,"owners_count":17806302,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-01-05T20:15:40.317Z","updated_at":"2024-12-04T20:31:01.925Z","avatar_url":"https://github.com/forkingdog.png","language":"Objective-C","funding_links":[],"categories":["Gesture","awesome-ios ##","Objective-C","UI Effects","OOM-Leaks-Crash"],"sub_categories":["Getting Started","Other free courses","Linter","Navigation"],"readme":"# FDFullscreenPopGesture\nAn UINavigationController's category to enable fullscreen pop gesture in an iOS7+ system style with AOP.\n\n# Overview\n\n![snapshot](https://raw.githubusercontent.com/forkingdog/FDFullscreenPopGesture/master/Snapshots/snapshot0.gif)\n\n这个扩展来自 @J_雨 同学的这个很天才的思路，他的文章地址：[http://www.jianshu.com/p/d39f7d22db6c](http://www.jianshu.com/p/d39f7d22db6c)\n\n# Usage\n\n**AOP**, just add 2 files and **no need** for any setups, all navigation controllers will be able to use fullscreen pop gesture automatically.  \n\nTo disable this pop gesture of a navigation controller:  \n\n``` objc\nnavigationController.fd_fullscreenPopGestureRecognizer.enabled = NO;\n```\n\nTo disable this pop gesture of a view controller:  \n\n``` objc\nviewController.fd_interactivePopDisabled = YES;\n```\n\nRequire at least iOS **7.0**.\n\n# View Controller Based Navigation Bar Appearance\n\nIt handles navigation bar transition properly when using fullscreen gesture to push or pop a view controller:  \n\n- with bar -\u003e without bar\n- without bar -\u003e with bar\n- without bar -\u003e without bar\n\n![snapshot with bar states](https://raw.githubusercontent.com/forkingdog/FDFullscreenPopGesture/master/Snapshots/snapshot1.gif)\n\nThis opmiziation is enabled by default, from now on you don't need to call **UINavigationController**'s `-setNavigationBarHidden:animated:` method, instead, use view controller's specific API to hide its bar:  \n\n``` objc\n- (void)viewDidLoad {\n    [super viewDidLoad];\n    self.fd_prefersNavigationBarHidden = NO;\n}\n```\n\nAnd this property is **NO** by default.\n\n# View Controller With ScrollView\n\nIf you want to use fullscreen pop gesture in ViewController with scrollView or subclass of scrollView , you should customize the scrollView or subclass of scrollView and overload the `gestureRecognizer:shouldRecognizeSimultaneouslyWithGestureRecognizer:` method . like this:\n\n``` objc\n- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer {\n    if (self.contentOffset.x \u003c= 0) {\n        if ([otherGestureRecognizer.delegate isKindOfClass:NSClassFromString(@\"_FDFullscreenPopGestureRecognizerDelegate\")]) {\n            return YES;\n        }\n    }\n    return NO;\n}\n```\n\n# Installation\n\nUse CocoaPods  \n\n``` ruby\npod 'FDFullscreenPopGesture', '1.1'\n```\n# Release Notes\n\n**1.1** - View controller based navigation bar appearance and transition.  \n**1.0** - Fullscreen pop gesture.  \n\n# License  \nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fforkingdog%2FFDFullscreenPopGesture","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fforkingdog%2FFDFullscreenPopGesture","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fforkingdog%2FFDFullscreenPopGesture/lists"}