swift - self.image.frame.width = 20 give get only property error -


i tried change width of image view 20 @iboutlet weak var image: uiimageview! using code in viewdidload self.image.frame.width = 20 give me error cannot assign property: width property. mean?? sorry new swift not know mean.please

get-only means can read property (for example compare something), not change. set width need this:

self.image.frame.size.width = foo 

Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -