![ios – Swift URL Encoding Not working : i handed with the layer1 and layer 2 parameters. this params not working accurately ios – Swift URL Encoding Not working : i handed with the layer1 and layer 2 parameters. this params not working accurately](https://geeks-news.com/wp-content/uploads/https://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon@2.png?v=73d79a89bded)
[ad_1]
var newURL = "https://media.me.com/i/helabojun/MY_Cover_LAKMan_MB_kanjapani_v.43-44?layer1=[text=INCOMING:&fontSize=76&textColor=#ffffff&textAlign=center&anchor=MC&left=50%&top=42%]&layer2=[text=Winter%20days&fontSize=164&textColor=#ffffff&textAlign=center&anchor=MC&left=50%&top=50%]&"
var encodedString = newURL.addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed)
let url = URL(string: encodedString!)
its not passing parameters with the url
Can anyone give me a assist for this
[ad_2]