ios 7 ASI警告的处理

if ([inputStream streamStatus] == NSStreamEventErrorOccurred) {
instead为
if ([inputStream streamStatus] == (NSStreamStatus)NSStreamEventErrorOccurred) {


return [[NSDate date] addTimeInterval:maxAge];
instead为
return [[NSDate date] dateByAddingTimeInterval:maxAge];

 

posted @ 2013-10-11 09:38  Asial  阅读(358)  评论(0编辑  收藏  举报