Skip to content

Navigator and UITabbarController has some conflict on iOS. #14926

@huangcheng1

Description

@huangcheng1
  1. react-native 0.43.4:
  2. node 4.5.0:
  3. npm 3.10.7:

when i create a UIWindow with rootController is UITabbarController, and the UITabbarController contain some UINavigationConller . then , i push a new vc contain RCTRootView with full screen , native UINavigationBar is hiden , and hidesBottomBarWhenPushed is YES . final appear RCTView bounds is not correct .

this is layer preview

image

this is my some code

`
UINavigationController = UINavigationController.rootVC(new vc);
UITabbarController = new UITabbarController(@[@UINavigationController,@XX])
window.rootViewController = UITabbarController

RNVC = UIViewController.addSubView(RCTRootView)
RNVC.navigationBarHidden=yes
`

maybe don't make me clear. sorry

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions