简体   繁体   中英

Bugsense (Splunk > Mint) integration

When I integrate the Bugsense into my project (iOS8), the NSURLConnection doesn't work properly. It returns nil when initialized.

Example:

NSURLConnection *tmp = [[NSURLConnection alloc] initWithRequest:... delegate:self];

The tmp is nil .

Does anybody know why that happens and how to fix it?

It is not to nil If you change the method of initialization.

NSURLConnection *tmp = [[NSURLConnection alloc] initWithRequest:request delegate:self startImmediately:YES];

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM