Question :: how to remove + from my string url
Problem :: while calling api i am getting + symbol at the end of url so how can i remove that +
here is my code which removing space
extension String {
func encodeURL() -> String {
return self.stringByAddingPercentEncodingWithAllowedCharacters(.URLHostAllowedCharacterSet())!
}
}