You need to make a cetgory of NSString in your Xcode project as : 1.
- Then do as :
Then when you click Next button a cetgory will be created of NSString . Then use add code in that. And then Import this category in your class as :
#import "NSString+URLDecode.h"
and then call method declared in category over NSString as
NSString *decodedUrlStr = [urlStr URLDecode];
Hope it helps you.