问题描述
我有一些代码想更新为不推荐使用,但是我不知道如何, 这是代码:
//
// Create the read stream that will receive data from the HTTP request
//
stream = CFReadStreamCreateForHTTPRequest(NULL,message);
CFRelease(message);
//
// Enable stream redirection
//
if (CFReadStreamSetProperty(
stream,kcfStreamPropertyHTTPShouldAutoredirect,kcfBooleanTrue) == false)
{
[self presentAlertWithTitle:NSLocalizedStringFromTable(@"File Error",@"Errors",nil)
message:NSLocalizedStringFromTable(@"Unable to configure network read stream.",nil)];
return NO;
}
有什么主意吗?
谢谢!
吉恩
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)