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())! } }