simulates ios 12

This commit is contained in:
TrueZhuanjia committed 2025-06-07 18:25:45 +08:00
1 parent 68f21fa8e5
commit a64a29ce07
13 files changed
+42 -42

No files matched your search

+1 -1
View File
@@ -127,7 +127,7 @@ static const int LABEL_DY = 20;
// Use UIContextMenuInteraction on iOS 13.0+ and a standard UILongPressGestureRecognizer
// for tvOS devices and iOS prior to 13.0.
#if !TARGET_OS_TV
if (@available(iOS 13.0, *)) {
if (@available(iOS 13.0, *) && false) {
UIContextMenuInteraction* rightClickInteraction = [[UIContextMenuInteraction alloc] initWithDelegate:self];
[self addInteraction:rightClickInteraction];
}