I need to check when my app launches if it was being updated, because i need to make a view that only appears when the app is firstly installed to appear again after being
This worked for me..
func compareVersion(old:String,latest:String) -> Bool { if latest.compare(old, options: .numeric) == .orderedDescending { return true } return false } compareVersion(old: "3.1.5", latest: "3.2")