UIEdgeInsetsMake in swift 5

Solution:

Swift 4:

UIEdgeInsetsMake is used in swift 4.

Swift 5:

UIEdgeInsets(top: 0, left: -10, bottom: 0, right: 10)


Use the above code for UIEdgeInsetsMake

Comments

Popular posts from this blog

Convert NsNumber, NSDate to String in iOS Swift

Global LocationManager Singleton class iOS Swift

Parse the value from string value iOS swift