mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-02-02 09:18:38 +08:00
The previous algorithm was buggy and did not handle the case when multiple VCs are being dismissed. Unfortunately I couldn't find a reliable way that'd allow for reshuffling modally presented VCs (inserting or deleting VCs not from the top) and so I added a special check that'd throw in the case someone attemted to do this.
15 lines
335 B
Objective-C
15 lines
335 B
Objective-C
#import <React/RCTViewManager.h>
|
|
#import <React/RCTUIManagerObserverCoordinator.h>
|
|
#import "RNSScreenContainer.h"
|
|
|
|
@interface RNSScreenStackView : UIView <RNSScreenContainerDelegate, RCTInvalidating>
|
|
|
|
- (void)markChildUpdated;
|
|
- (void)didUpdateChildren;
|
|
|
|
@end
|
|
|
|
@interface RNSScreenStackManager : RCTViewManager <RCTInvalidating>
|
|
|
|
@end
|