iOS 15 only view modifier causes crash on iOS 14 even with if #available(iOS 15.0, *) – Ios swift
I'm using SwiftUI's drag & drop modifiers. Since, iOS 15 gives an option to customise the onDrag modifier with a preview I'm using it as shown below. Issue: I've a if #available(iOS 15.0, *) guard to choose the view for…