Fixes issue where touches near left edge of screen were delayed

This commit is contained in:
Riley Testut 2016-11-29 21:11:09 -08:00
parent 93b9e979cf
commit ebf59450cd

View File

@ -26,6 +26,12 @@ class AppDelegate: UIResponder, UIApplicationDelegate
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
DatabaseManager.shared.loadPersistentStores { (description, error) in