Post

Replies

Boosts

Views

Activity

Reply to Arrow keys don't seem to be working in UITextView embed in UICollectionViewCell
I'm having the similar view hierarchy(UITextView and UITextField inside the UICollectionViewCell) from my iPad application and the arrow keys works well till iOS 14. However, the same code fails to execute when tried with iOS 15. I'm using "wantsPriorityOverSystemBehavior = true" to read/enable the arrow key presses with iOS 15 and this works well. The only problem is when the UITextView and UITextField is in edit mode. Everything works well except the arrow keys which results in the restricted cursor movements. Any assistance on this will be greatly appreciated. Thank you in advance.
Topic: App & System Services SubTopic: General Tags:
Dec ’21
Reply to Keyboard shortcuts with UIKeyCommand in iPadOS 15 beta
Here is the sample code from the viewDidLoad method.         if #available(iOS 13.0, *) {             let upKeyCommand = UIKeyCommand(title: NSLocalizedString("Up", comment: "Up"), action: #selector(handleExternalKeyPress(key:)), input: UIKeyCommand.inputUpArrow, modifierFlags: [])             if #available(iOS 15.0, *) {                 upKeyCommand.wantsPriorityOverSystemBehavior = true             } else {                 // Fallback on earlier versions             }             addKeyCommand(upKeyCommand)         } else {             // Fallback on earlier versions         } Thank you @sjs for your inputs.
Topic: App & System Services SubTopic: Hardware Tags:
Dec ’21
Reply to How to download a PDF via WKWebView but open it in QuickLookPreview?
I have a similar requirement of downloading & displaying PDF blobs via WKWebView and I'm able to achieve it with iOS 15 as we have WKDownloadDelegate available from iOS 15 onwards. However, the above mentioned solution doesn't work for me with iOS 14 and I am unable to download & display PDF blobs in iOS 14 via WKWebView. Any assistance on iOS 14 would be greatly appreciated.
Topic: Safari & Web SubTopic: General Tags:
Nov ’21