开发者

Is network reachability important in my app

开发者 https://www.devze.com 2023-02-28 19:14 出处:网络
i have develop an app that save its data as backup on a remote server. so i just use connection delegate methods to check if i receive a response or not. so i want to ask if my app will be get rejecte

i have develop an app that save its data as backup on a remote server. so i just use connection delegate methods to check if i receive a response or not. so i want to ask if my app will be get rejected for not checking connection like in Reachability code.

-(void) connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response 

-(void) connection:(NSURLConnection *) connection   didFailWithError:(NSError *) error 

and one thing more is that if i use Reachability code then should i only check my remoter server is available. means no need t开发者_如何学JAVAo check is it by wifi or someother.

0

精彩评论

暂无评论...
验证码 换一张
取 消