First of all, create a NSURL. Then, use the query
method to get the query string part:
NSURL * url = [ NSURL URLWithString: @"... your url ..." ];
NSString * q = [ url query ];
Then you can use the NSString methods to isolate the needed part.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…