Post

Replies

Boosts

Views

Activity

iOS 13.2.3 pdfViewGestureRecognize and PDFkit
Here is my Code it work perfectly in iOS 12 but for iOS 13 code can't give exactly values let pdfViewGestureRecognizer = PDFViewGestureRecognizer() pdfView.autoScales = true pdfView.displayMode = .singlePage pdfView.displayDirection = .horizontal pdfView.usePageViewController(true, withViewOptions: [UIPageViewControllerOptionInterPageSpacingKey: 20]) pdfView.addGestureRecognizer(pdfViewGestureRecognizer) pdfView.document = pdfDocumenthere is first problem is not go here I adding great delegate for Gesture and other details find here but isn't work too !!class PDFViewGestureRecognizer: UIGestureRecognizer { var isTracking = false override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent) { isTracking = true print ("but not iOS 13.2.3") } override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent) { isTracking = false } override func touchesCancelled(_ touches: Set<UITouch>, with event: UIEvent) { isTracking = false }}here is second part let pdfSubVws = pdfView.subviews print("subVws ",pdfSubVws) for subVws in pdfSubVws { if (String(describing: subVws).range(of:"UIPageViewControllerContentView") != nil) { let pageVc = subVws.subviews for subVws in pageVc { if (String(describing: subVws).range(of:"UIQueuingScrollView") != nil) { let QueueVc = subVws.subviews // print("QueueVcQueueVc ", QueueVc) for subVws in QueueVc { if (String(describing: subVws).range(of:"UIView") != nil) { let viewVc = subVws.subviews // print("\n\nviewVcVcQueueVc ", viewVc) for subVws in viewVc { if (String(describing: subVws).range(of:"UIView") != nil) { let SubviewVc = subVws.subviews // print("\n\nSubviewVcSubviewVc ", SubviewVc) for subVws in SubviewVc { if (String(describing: subVws).range(of:"UIScrollView") != nil) { let finalVw = subVws.subviews // print("\n\nfinalVw ", finalVw) // for subVws in finalVw { if (String(describing: subVws).range(of:"UIView") != nil) //here is ok iOS 12 It's ok but not iOS 13.2.3 {
2
0
2.8k
Dec ’19
can not call selector and gesture delegate iOS 13.2
my code works in iOS 12 last version but after iOS 13 this code can't call the selectorI used **UIGestureRecognizerDelegate** for iOS 13here is my code let panGest = UIPanGestureRecognizer(target: self, action: #selector(self.handleTap(_:))) panGest.delegate = self txtVw.addGestureRecognizer(panGest)here is my let txtVw = subVws as! UITextView ,txtVw = subVws as! UITextViewthis function with sef.view its work but i do'nt have self.view i have one subview I I used one code like this : let panGest = UIPanGestureRecognizer(target: self, action: #selector(self.handleTap(_:))) self.view.addGestureRecognizer(panGest) its work with self.view but for subview how can i call ? is not work self.handleTap and its not call gestureRecognizer(_:shouldRecognizeSimultaneouslyWith:)gestureRecognizer(_:shouldRecognizeSimultaneouslyWith:)
3
0
843
Dec ’19
iOS 14.5 Update can't finishing installation big bug Please don't update your phone
I found problem with my both two devices after setting up  iOS 14.5 . I have two devices , one is iPhone XS Max and another one is iPhone 12 Pro Max  . Yesterday , I decided to update the iOS of my both devices to the version 14.5 , during the installation , my devices freeze (can't finish installation) and now both are not working any more .  I have one White Apple logo plus one Complete White Line and I can't rest my phones at all !!! is it just me or ? Please help me I download last version released from apple to setting iPhone not beta at all
1
0
540
Apr ’21
Xcode 16 RC can't send app for App Store Connect !!
I was downloaded Xcode 16 Release Candidate 9 September I try to send my app for checking in App Store but I received Unsupported SDK or Xcode version. Your app was built with an SDK or version of Xcode that isn’t supported. Although you can use beta versions of SDKs and Xcode to build and upload apps to App Store Connect, you need to use the latest Release Candidates (RC) for SDKs and Xcode to submit the app. For details on currently supported SDKs and versions of Xcode, visit: https://developer.apple.com/news/releases.
12
7
1.5k
Sep ’24