codepath / codepath/ios_guides
Bug in custom tab bar
- Dominant language
- Swift
- Stars
- 2.9k
- Forks
- 466
- PR merge metrics
- No merged PRs in 30d
Description
https://github.com/codepath/ios_guides/wiki/Creating-a-Custom-Tab-Bar
After following the tutorial, I successfully run the custom tab bar app. However, there will be a blank gap between tab bar view and the first content view loaded in `viewDidLoad()`. Other content view works great.
Update: My content view is with scroll view, and it's the bug origin.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the Creating a Custom Tab Bar tutorial linked in the issue and reproduce the blank gap using a content view whose layout includes a scroll view. Compare that result with the other content views and identify the layout state created during viewDidLoad(). Done means the scroll-view content no longer leaves a gap below the tab bar while the other content views continue to work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100