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