Code to change ajax request timeout for ios and also for hybrid( Cordova) apps.
Find NSURLRequest in your native code. Change thetimeoutInterval value.
NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:serverURL] cachePolicy:NSURLRequestUseProtocolCachePolicy timeoutInterval:15.0];
👍
Find NSURLRequest in your native code. Change the
NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:serverURL] cachePolicy:NSURLRequestUseProtocolCachePolicy timeoutInterval:15.0];
👍
No comments:
Post a Comment