hyperoslo / hyperoslo/ios-foundation

NavigationController style transition

Open
#59 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
5
Forks
0
PR merge metrics
No merged PRs in 30d

Description

We have a situation in which we show a screen within a `UINavigationController` stack, but want to hide its `navigationBar`.

What we need from `UINavigationController` are

- navigation push style transition
- swipe edge to pop gesture

What we don't need

- the hassle of hiding navigation bar and customizing back button

We can't use `setNavigationBarHidden` as we will lose the `swipe edge to pop gesture`. The workaround is to `navigationBar.isHidden` and set the `viewController frame` manually.

🤔 How about making our own custom transition that mimics `UINavigationController` transition, and support `swipe edge to pop` dismissal transition? This way we have more control over what is displayed on the screen, other than hacking with back button or navigation bar style

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.