[英]Bugsense (Splunk > Mint) integration
When I integrate the Bugsense into my project (iOS8), the NSURLConnection
doesn't work properly. 当我将Bugsense集成到我的项目(iOS8)中时, NSURLConnection
无法正常工作。 It returns nil when initialized. 初始化时返回nil 。
Example: 例:
NSURLConnection *tmp = [[NSURLConnection alloc] initWithRequest:... delegate:self];
The tmp is nil . tmp为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]; NSURLConnection * tmp = [[NSURLConnection alloc] initWithRequest:request委托:self startImmediately:YES];
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.