public func osVersionEqual(_ version: String) -> Bool {
    UIDevice.current.systemVersion.compare(version, options: .numeric) == .orderedSame
}