I found workaround for this, you need to set pageviewcontroller datasource delegate to nil during drag, and then set it again at end dragging. // WORKAROUND
// When Dragging to edge of the screen in UIPageViewController, page controller switch page to a blank page
func collectionView(_ collectionView: UICollectionView, dragSessionWillBegin session: UIDragSession) {
if let pageController = self.parent as? UIPageViewController {
self.tmpPageViewControllerDataSource = pageController.dataSource
pageController.dataSource = nil
}
}
func collectionView(_ collectionView: UICollectionView, dragSessionDidEnd session: UIDragSession) {
if let pageController = self.parent as? UIPageViewController {
pageController.dataSource = self.tmpPageViewControllerDataSource
self.tmpPageViewControllerDataSource = nil
}
}
Post
Replies
Boosts
Views
Activity
As always, thank you! :)
Some tests can be done be setting things up in advance but not all so I will try proxy approach for now.
Bug: FB8801770 (Unable to request local server via URLRequest within XCTestCase - iOS14) - https://feedbackassistant.apple.com/feedback/8801770
Oh I see, thank you for clarifying, and links! :)