You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, since 4.0.3 there is possibility to set swipeToDismiss under modal options. This is really nice addition, but also implementing DidAttemptToDismiss with a callback would be a great addition to this functionality.
I tried myself to implement this but I am not so good at objective C. But this might helped, in RNNModalManager.m there should be implementation of - (void)presentationControllerDidAttemptToDismiss:(UIPresentationController *)presentationController with getting calling callback passed to options -> modal -> onDismissAttempt or some other property name.
The text was updated successfully, but these errors were encountered:
manicantic
changed the title
[V4] Support DidAttemptToDismiss
[V4] Support DidAttemptToDismiss for pageSheet modals
Jan 3, 2020
Hi, since 4.0.3 there is possibility to set
swipeToDismiss
under modal options. This is really nice addition, but also implementing DidAttemptToDismiss with a callback would be a great addition to this functionality.I tried myself to implement this but I am not so good at objective C. But this might helped, in
RNNModalManager.m
there should be implementation of- (void)presentationControllerDidAttemptToDismiss:(UIPresentationController *)presentationController
with getting calling callback passed to options -> modal -> onDismissAttempt or some other property name.The text was updated successfully, but these errors were encountered: