- Posts: 7
- Thank you received: 0
Microsoft Windows Phone 8.1 support ends (13 Jul 2017)
Microsoft has ended support for Windows Phone 8.1
Here you should submit your bug reports with logcat.
Editing document on iOS 13 in PageSheet modal presentation style
- vladimir14Abakumov
- Topic Author
- Offline
- New Member
-
Less
More
IP: 5.227.124.49
6 years 10 months ago #14646
by vladimir14Abakumov
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
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
IP: 120.244.140.125
6 years 10 months ago #14647
by stronglee
Replied by stronglee on topic Editing document on iOS 13 in PageSheet modal presentation style
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;
}
}
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;
}
}
- vladimir14Abakumov
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 7
- Thank you received: 0
IP: 5.227.124.49
6 years 10 months ago #14669
by vladimir14Abakumov
Time to create page: 0.392 seconds