activityIndicator in swift 5

Solution:

The below code is used for activity indicator in swift 4

            let activityIndicator = UIActivityIndicatorView(activityIndicatorStyle: .white)


In swift 5 the below code is used.

let activityIndicator = UIActivityIndicatorView(style: .white)

Comments

Popular posts from this blog

Invalid bundle error while upload the app to the app Store

Convert NsNumber, NSDate to String in iOS Swift

Global LocationManager Singleton class iOS Swift