iTunes App rejected.
Reason :
We discovered one or more bugs in your app when reviewed on iPhone running iOS 9.3.4 on Wi-Fi connected to an IPv6 network.
Specifically, the app content failed to load.
We tested it in NAT64 network (setup from mac) and it's working fine , but Apple review team have an issue with IPv6 network.
We have used NSURLConnection for calling web service , but getting nil response.
NSURLConnection:connectionDidFinishLoading:
is called but getting nil NSData response in IPv6 network , it’s working fine in IPv4 network
json parsing code
NSDictionary *dictionary = [NSJSONSerialization JSONObjectWithData:receivedData options:kNilOptions | NSJSONReadingAllowFragments | NSJSONReadingMutableContainers error:&error];
getting parsing error becauseof nil receivedData : The data couldn’t be read because it isn’t in the correct format
it's all working fine in IPv4 network , also in IPv6 connectionDidFinishLoading: called but why getting nil response ?