Fixes issue where touches near left edge of screen were delayed
This commit is contained in:
parent
93b9e979cf
commit
ebf59450cd
@ -26,6 +26,12 @@ class AppDelegate: UIResponder, UIApplicationDelegate
|
|||||||
|
|
||||||
self.window?.tintColor = UIColor.deltaPurple
|
self.window?.tintColor = UIColor.deltaPurple
|
||||||
|
|
||||||
|
// Disable system gestures that delay touches on left edge of screen
|
||||||
|
for gestureRecognizer in self.window?.gestureRecognizers ?? [] where NSStringFromClass(type(of: gestureRecognizer)).contains("GateGesture")
|
||||||
|
{
|
||||||
|
gestureRecognizer.delaysTouchesBegan = false
|
||||||
|
}
|
||||||
|
|
||||||
// Database
|
// Database
|
||||||
|
|
||||||
DatabaseManager.shared.loadPersistentStores { (description, error) in
|
DatabaseManager.shared.loadPersistentStores { (description, error) in
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user