yysskk / yysskk/SwipeMenuViewController
TabView is not centered on iPhone X
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 1.3k
- Forks
- 128
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
Sliding tabView is out of place when initially launching the application for the very 1st time. Clicking on the tabView will fix the error by itself. This error only seems to persist on iPhone X.
To Reproduce
Steps to reproduce the behavior:
- Running the application on iPhone X
Expected behavior
It should display tabView frame right below the navigation bar but instead you can see the screenshot below. tabView frame is out of place. Text and additional View window are not centered in the frame.
Screenshots
![image] (https://i.imgur.com/qca9nOw.png)
iPhone
- Device: [iPhoneX]
- OS: [iOS 12.0]
- Version [3.0.0]
Additional context
Only happens on iPhone X.
XR, XS seems be working as it is supposed to.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the initial launch on an iPhone X running iOS 12.0 and inspect the tabView layout relative to the navigation bar. Done means the tabView, its text, and its additional view are centered correctly on first launch without requiring a tap.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100