Post

Replies

Boosts

Views

Activity

iPadOS13 (b7), UIMenuController and multiple windows
Having problems popping a UIMenuController when using multiple (side by side) windows.So I handle a tap in a view then I set the firstResponder to that view, then I present a UIMenuController in that view and the canPerformAction: is called on that view - all good!I then attempt the same in the adjacent window (same code obviously) and the canPerformAction: is still sent to the previous view (in the other window.) Indeed, pressing the menu also results in the handler being called on the other view.Both views return YES from canBecomeFirstRepsonder:Anyone got any ideas?Thanks
2
0
790
Sep ’19
UIDocumentBrowserViewController with GDrive - never worked
I have a document based app and use the UIDocumentBrowserViewController. All works well with iCloud, OneDrive etc. but I've never had it work with GDrive. I can see the documents but any attempt to create or open a document fails. Haven't seen any other app work either EXCEPT the Pages app (so it IS possible.)Anyone else made this work?
0
0
394
Mar ’20
Detecting secondary mouse click
Just playing with the new mouse/trackpad support and trying to detect both primary and seconday mouse button clicks.I can detect them (primary OR secondary clicks) by setting the buttonMaskRequired on a UITapGestureRecognizer to EITHER UIEventButtonMaskPrimary or UIEventButtonMaskSecondary BUT if I attempt to recognise both (buttonMaskRequired = UIEventButtonMaskPrimary | UIEventButtonMaskSecondary) then the gesture recogniser doesn't fire (for mouse clicks.)Anyone know if this is an 'oversight' or I'm doing something wrong?Thanks
2
0
1.5k
Mar ’20