【发布时间】:2018-11-28 05:38:51
【问题描述】:
let staticURL : String = "https://www.google.com/maps/place/London,+UK/@51.528308,-0.3817765,10z/data=!3m1!4b1!4m5!3m4!1s0x47d8a00baf21de75:0x52963a5addd52a99!8m2!3d51.5073509!4d-0.1277583\("zoom=15&size=\(2 * Int(imgForMap.frame.size.width))x\(2 * Int(imgForMap.frame.size.height))")&sensor=true"
let mapURL = URL(string: staticURL)!
self.imgForMap.sd_setAnimationImages(with: [mapURL as URL])
以上代码不工作。
【问题讨论】:
-
试试this回答!
-
@Dimple 我已经尝试过了,但它不适合我。
-
你的意思是它不起作用?您能否更具体地说明哪行代码不起作用以及您遇到了什么错误?
-
您的网址与共享答案不同。请检查正确的网址
标签: ios swift uiimageview maps