Unhides “Home Screen Shortcuts” setting on devices without 3D Touch
All devices on iOS 13 or later support either 3D Touch or Haptic Touch, which means all devices now support home screen shortcuts.
This commit is contained in:
parent
cb77be106a
commit
58346140a8
@ -186,7 +186,17 @@ private extension SettingsViewController
|
||||
{
|
||||
switch section
|
||||
{
|
||||
case .hapticTouch: return self.view.traitCollection.forceTouchCapability != .available
|
||||
case .hapticTouch:
|
||||
if #available(iOS 13, *)
|
||||
{
|
||||
// All devices on iOS 13 support either 3D touch or Haptic Touch.
|
||||
return false
|
||||
}
|
||||
else
|
||||
{
|
||||
return self.view.traitCollection.forceTouchCapability != .available
|
||||
}
|
||||
|
||||
default: return false
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user