-
Notifications
You must be signed in to change notification settings - Fork 24.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for Platform.isMacCatalyst (#38187)
Summary: Add support for `Platform.isMacCatalyst` By default, Mac catalyst reports the idiom as an iPad, but you can check if it is Mac catalyst with a macro There is technically the possibility to have the idiom return as a Mac, but that's not the default and almost definitely doesn't work in RN ignore-github-export-checks ## Changelog: [IOS] [ADDED] Add support for `Platform.isMacCatalyst` Pull Request resolved: #38187 Test Plan: It compiles Reviewed By: cortinico Differential Revision: D47664425 Pulled By: cipolleschi fbshipit-source-id: 09f43694aa9b5f980204474f0e07779acd5ed2c7
- Loading branch information
1 parent
4676493
commit 027d520
Showing
5 changed files
with
27 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters