- -.. Grabbed a request for what what package URL ... And then what's the request ...
With a tool called Paros.
IP set to computer: Set the lower port ... And then set the HTTP proxy of the mobile device to the same, you can catch the =w=
After the arrest. What kind of bag did you use? A request was made to the URL you just grabbed. Then took a look at responce.
//PictureURLRequest.h#import<Foundation/Foundation.h>@protocolPictureurlrequestdelegate <nsobject>-(void) LoadData;@end@interfacePictureurlrequest:nsobject@property (nonatomic,weak)ID<PictureURLRequestDelegate>Delegate; @property (nonatomic,strong) Nsmutablearray*MARR;-(instancetype) init;@end //PICTUREURLREQUEST.M#import "PictureURLRequest.h"#import "URLParsing.h"#import "Network.h"#import "PictureModel.h"@implementationpictureurlrequest-(instancetype) init{ Self=[Super Init]; if(self) {Network*net =[[Network alloc] init]; [NET Asyngetnetworkwith:[nsurl urlwithstring:@"Http://c.m.163.com/photo/api/list/0096/4GJ60096.json"] block:^ (IDdata) {Nsarray*arr =[nsjsonserialization jsonobjectwithdata:data options:nsjsonreadingmutablecontainers Error:nil]; _marr= [[Nsmutablearray alloc] Initwithcapacity:Ten]; for(Nsdictionary *dic1incharr) {Picturemodel*picturemodel =[[Picturemodel alloc] init]; [Picturemodel Setvaluesforkeyswithdictionary:dic1]; [_marr Addobject:picturemodel]; } [self.DelegateLoadData]; }]; }returnSelf ;}@end //There are only a few properties in Picturemodel
Then use the sdwebimage to get pictures from the Internet.
#import " uiimageview+webcache.h "
And then
[Self.clientcoverimageview Sd_setimagewithurl:[nsurl URLWithString:model.clientcover];
Just a =w=.
[A gull's training note] [Objective-c] [Sixth day] [Personal notes]