Questions tagged [uipointerinteraction]
5 questions
6
votes
2 answers
How to use UIPreviewParameters to specify a range of text as a highlighted preview for UIContextMenuInteraction without hiding the rest of the view?
Update for iOS 13.4 (March, 2020):
This also happens with UIPointerInteraction when hovering over the links.
I have a view that displays rich text and shows the iOS 13 context menu when the user long presses on a link. I want to be able to…

halleygen
- 481
- 1
- 7
- 15
4
votes
1 answer
iPadOS: Prevent UIContextMenuInteraction from triggering when not using pointer
UIMenu vs UIContextMenuInteraction vs UIPointerInteraction
I'm trying to set up UIContextMenuInteraction in the same way as in Files or Pages app:
(Long) tap anywhere in the blank space shows the black horizontal UIMenu
Secondary (Right/Control)…

Tom Kraina
- 3,569
- 1
- 38
- 58
0
votes
1 answer
iPadOS 13.4 trackpad IUIPointerInteractionDelegate method GetStyleForRegion not being called
I am working on an iPadOS 13.4 app that works with trackpad input. I have gotten a lot of things working, like two-finger scrolling, right-click (two-finger or control-click), pinch-to-zoom, etc. I have another control that works great with the…

Jared Updike
- 7,165
- 8
- 46
- 72
0
votes
1 answer
How do I add iPadOS pointer interactions to web content?
I work on an e-reader app that uses WKWebView to display text content from ePubs. How do I customize pointer behavior on iPadOS 13.4 and later in my web content? I'd love to be able to get highlight effects on arbitrary anchor tags! Are there CSS…

Tom Hamming
- 10,577
- 11
- 71
- 145
-1
votes
1 answer
my iphone app doesn't run. cause dyld: Symbol not found: UIPointerInteraction
I made an app for iphone in Xcode 13.2.
I set the minimum supported OS to 11.0 and there was no problem when compiling.
However, I recently tested it on an iPhone 6 with iOS 12.4, and the app crashed as soon as it started.
When debugging, the…

sardine
- 1