Skip to content

do not call [super loadView] in RN's UIViewController#45312

Closed
sammy-SC wants to merge 1 commit into
facebook:mainfrom
sammy-SC:export-D59376105
Closed

do not call [super loadView] in RN's UIViewController#45312
sammy-SC wants to merge 1 commit into
facebook:mainfrom
sammy-SC:export-D59376105

Conversation

@sammy-SC
Copy link
Copy Markdown
Contributor

@sammy-SC sammy-SC commented Jul 8, 2024

Summary:
changelog: [internal]

loadview shouldn't call its super method. Even though it isn't broken now, the official docs recommend against it.

https://developer.apple.com/documentation/uikit/uiviewcontroller/1621454-loadview

Reviewed By: christophpurrer

Differential Revision: D59376105

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Jul 8, 2024
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D59376105

@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D59376105

@sammy-SC sammy-SC force-pushed the export-D59376105 branch from 214fcdf to 1a1ecfa Compare July 8, 2024 11:25
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D59376105

@sammy-SC sammy-SC force-pushed the export-D59376105 branch from 1a1ecfa to a2412bb Compare July 8, 2024 11:33
Summary:
Pull Request resolved: facebook#45312

changelog: [internal]

loadview shouldn't call its super method. Even though it isn't broken now, the official docs recommend against it.

https://developer.apple.com/documentation/uikit/uiviewcontroller/1621454-loadview

Reviewed By: christophpurrer

Differential Revision: D59376105
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D59376105

@sammy-SC sammy-SC force-pushed the export-D59376105 branch from a2412bb to 9a5daae Compare July 8, 2024 12:59
@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Jul 8, 2024
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in 83392a9.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jul 8, 2024

This pull request was successfully merged by @sammy-SC in 83392a9.

When will my fix make it into a release? | How to file a pick request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants