File tree Expand file tree Collapse file tree 2 files changed +0
-42
lines changed Expand file tree Collapse file tree 2 files changed +0
-42
lines changed Original file line number Diff line number Diff line change @@ -168,26 +168,6 @@ RCT_EXTERN NSString *const RCTUIManagerWillUpdateViewsDueToContentSizeMultiplier
168168
169169@end
170170
171- @interface RCTUIManager (Deprecated)
172-
173- /* *
174- * This method is deprecated and will be removed in next releases.
175- * Use `setSize:forView:` or `setIntrinsicContentSize:forView:` instead.
176- * Only frames with `origin` equals {0, 0} are supported.
177- */
178- - (void )setFrame : (CGRect)frame forView : (UIView *)view
179- __deprecated_msg(" Use `setSize:forView:` or `setIntrinsicContentSize:forView:` instead." );
180-
181-
182- /* *
183- * This method is deprecated and will be removed in next releases.
184- * Use `registerRootView:` instead. There is no need to specify `sizeFlexibility` anymore.
185- */
186- - (void )registerRootView : (UIView *)rootView withSizeFlexibility : (RCTRootViewSizeFlexibility)sizeFlexibility
187- __deprecated_msg(" Use `registerRootView:` instead." );
188-
189- @end
190-
191171/* *
192172 * This category makes the current RCTUIManager instance available via the
193173 * RCTBridge, which is useful for RCTBridgeModules or RCTViewManagers that
Original file line number Diff line number Diff line change @@ -1534,28 +1534,6 @@ + (UIView *)JSResponder
15341534
15351535@end
15361536
1537- @implementation RCTUIManager (Deprecated)
1538-
1539- - (void )registerRootView : (UIView *)rootView withSizeFlexibility : (__unused RCTRootViewSizeFlexibility)sizeFlexibility
1540- {
1541- RCTLogWarn (@" Calling of `[-RCTUIManager registerRootView:withSizeFlexibility:]` which is deprecated." );
1542- [self registerRootView: rootView];
1543- }
1544-
1545- - (void )setFrame : (CGRect)frame forView : (UIView *)view
1546- {
1547- RCTLogWarn (@" Calling of `[-RCTUIManager setFrame:forView:]` which is deprecated." );
1548- [self setSize: frame.size forView: view];
1549- }
1550-
1551- RCT_EXPORT_METHOD (getContentSizeMultiplier:(nonnull RCTResponseSenderBlock)callback)
1552- {
1553- RCTLogWarn (@" `getContentSizeMultiplier` is deprecated. Instead, use `PixelRatio.getFontScale()` and listen to the `didUpdateDimensions` event." );
1554- callback (@[@(_bridge.accessibilityManager.multiplier)]);
1555- }
1556-
1557- @end
1558-
15591537@implementation RCTBridge (RCTUIManager)
15601538
15611539- (RCTUIManager *)uiManager
You can’t perform that action at this time.
0 commit comments