Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Here you should submit your bug reports with logcat.
  • Page:
  • 1

TOPIC:

Editing document on iOS 13 in PageSheet modal presentation style 4 years 5 months ago #14646

  • vladimir14Abakumov
  • vladimir14Abakumov's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 7
  • Thank you received: 0
Hello.

In iOS 13 modal presentations using the form and page sheet style can be dismissed with a pan down gesture. This functionality can be disabled by setting isModalInPresentation = true, but it still allows the sheet to be pulled down. As a result I can't draw on the pdf canvas which is contained in a modal view controller presented as a sheet. I tried to use last iOS 3.55beta4 and I managed draw only vertical lines. Another lines started to be drawn then cut off and my view controller started to move (please see attachment).

Any advices?

Best wishes,
Vladimir Abakumov

Please Log in or Create an account to join the conversation.

Editing document on iOS 13 in PageSheet modal presentation style 4 years 5 months ago #14647

  • stronglee
  • stronglee's Avatar
  • Offline
  • Premium Member
  • Premium Member
  • Posts: 93
  • Thank you received: 2
Hi
If you want disable the pan gesture,you can try
- (void)viewDidAppear:(BOOL)animated
{
[super viewDidAppear:animated];
// disable the pan back gesture
if ([self.navigationController respondsToSelector:@selector(interactivePopGestureRecognizer)]) {
self.navigationController.interactivePopGestureRecognizer.enabled = NO;
}
}

- (void)viewWillDisappear:(BOOL)animated
{
[super viewWillDisappear:animated];
// when disable viewcontroller reopen it for other viewcontroller
if ([self.navigationController respondsToSelector:@selector(interactivePopGestureRecognizer)]) {
self.navigationController.interactivePopGestureRecognizer.enabled = YES;
}
}

Please Log in or Create an account to join the conversation.

Editing document on iOS 13 in PageSheet modal presentation style 4 years 5 months ago #14669

  • vladimir14Abakumov
  • vladimir14Abakumov's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 7
  • Thank you received: 0

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum