From f174f028cfae29735e3f04ad5f42079b67658642 Mon Sep 17 00:00:00 2001 From: Saad Najmi Date: Tue, 3 Oct 2023 07:34:35 -0700 Subject: [PATCH] Deprecate RCTGetMultiplierForContentSizeCategory (#39643) Summary: Per https://github.com/facebook/react-native/pull/39617#issuecomment-1734330041 , let's deprecate this method first. bypass-github-export-checks ## Changelog: [IOS] [DEPRECATED] - Deprecate RCTGetMultiplierForContentSizeCategory Pull Request resolved: https://github.com/facebook/react-native/pull/39643 Test Plan: CI should pass Reviewed By: dmytrorykun Differential Revision: D49637172 Pulled By: cipolleschi fbshipit-source-id: 20dc70c737ef51efd5a5aa38832fb47b5d49e641 --- packages/react-native/React/UIUtils/RCTUIUtils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native/React/UIUtils/RCTUIUtils.h b/packages/react-native/React/UIUtils/RCTUIUtils.h index 8fd1850fb73a6c..addf12e406a3f7 100644 --- a/packages/react-native/React/UIUtils/RCTUIUtils.h +++ b/packages/react-native/React/UIUtils/RCTUIUtils.h @@ -25,7 +25,7 @@ extern __attribute__((visibility("default"))) RCTDimensions RCTGetDimensions(CGF // Get font size multiplier for font base size (Large) by content size category extern __attribute__((visibility("default"))) CGFloat RCTGetMultiplierForContentSizeCategory( - UIContentSizeCategory category); + UIContentSizeCategory category) __deprecated; #ifdef __cplusplus }