Skip to content

AppDelegate.mm install instructions for RN 0.71Β #51

@jaredh159

Description

@jaredh159

RN 0.71 seems to have changed the AppDelegate entrypoint significantly. From piecing together info from

facebook/react-native#35937

and

https://github.com/facebook/react-native/blob/main/Libraries/AppDelegate/RCTAppDelegate.h

I think the correct way to install, replacing the default UIViewController would be to add a new method override like so:

- (UIViewController *)createRootViewController
{
  return [HomeIndicatorViewController new];
}

does that seem correct to you? if so, would you be open to a PR to modify the readme?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions