Files
Fluxup_PAP/node_modules/react-native-screens/ios/helpers/RNSViewInteractionManager.h
2026-03-10 16:18:05 +00:00

20 lines
592 B
Objective-C

#pragma once
@interface RNSViewInteractionManager : NSObject
- (instancetype)init;
/**
* Given a view, traverse its ancestors hierarchy and find a view that supports RNSViewInteractionAware protocol
* and can disable interactions for the time of screen transition. Make sure that at most one view is disabled at any
* time, re-enabling interactions on previously affected views when necessary.
*/
- (void)disableInteractionsForSubtreeWith:(UIView *)view;
/**
* Re-enable interactions on the view that had them previously disabled.
*/
- (void)enableInteractionsForLastSubtree;
@end