_UIConstraintBasedLayoutLogUnsatisfiable test

This commit is contained in:
TrueZhuanjia committed 2025-06-05 02:19:18 +08:00
1 parent 17a00a1604
commit 01e379eefe
1 file changed
+2 -1
@@ -823,7 +823,8 @@ BOOL isCustomResolution(CGSize res) {
- (void)viewDidLoad { - (void)viewDidLoad {
//[self updateTheme]; //[self updateTheme];
[[NSUserDefaults standardUserDefaults] setBool:NO forKey:@"_UIConstraintBasedLayoutLogUnsatisfiable"];
UILongPressGestureRecognizer *longPress = [[UILongPressGestureRecognizer alloc] initWithTarget:self action:@selector(handleLongPress:)]; UILongPressGestureRecognizer *longPress = [[UILongPressGestureRecognizer alloc] initWithTarget:self action:@selector(handleLongPress:)];
[self.view addGestureRecognizer:longPress]; [self.view addGestureRecognizer:longPress];