andreamazz / andreamazz/AMScrollingNavbar

UITabbarController show space above navigationbar ios15

Open
#407 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
6k
Forks
628
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
When adding UITbbarController in viewcontroller stack of AMScrollNavBar.The top space does'nt go away.

**To Reproduce**
Steps to reproduce the behavior:
1. Adding tabbarcontroller to navigation bar like this `self.navigationController?.viewControllers = [UIStoryboard.main.instantiateViewController(withIdentifier: TabbarViewController.className)]` and navigationcontroller is ScrollingNavigationViewController.
2. Child controllers of tabbarcontroller shows space above navigationbar.
3. I'm using ios version 15.Xcode version 13.1.Macos version 11.6

**Expected behavior**
These top space should not be visible.

**Screenshots**
![simulator_screenshot_26D60CA4-6983-4DCF-AE15-365842E38082](https://user-images.githubusercontent.com/17882197/141672372-10ca0243-2d27-4020-84b0-460f9be18d6f.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue on iOS 15 with a ScrollingNavigationViewController whose viewControllers contains the reported UITabbarController setup. Inspect the AMScrollNavBar navigation-bar behavior around the tab bar's child controllers; done means the unwanted space above the navigation bar is no longer visible.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.