diff --git a/LIKE/LIKE/Info.plist b/LIKE/LIKE/Info.plist
index 45737b4..65afeb4 100755
--- a/LIKE/LIKE/Info.plist
+++ b/LIKE/LIKE/Info.plist
@@ -74,7 +74,7 @@
CFBundleVersion
- 1.0.8.2
+ 1.0.8.3
FacebookAppID
368579790017819
FacebookDisplayName
diff --git a/LIKE/LIKE/LCFramework/Extension/ASI/ASIHTTPRequest.m b/LIKE/LIKE/LCFramework/Extension/ASI/ASIHTTPRequest.m
index dec75cf..34b1b07 100755
--- a/LIKE/LIKE/LCFramework/Extension/ASI/ASIHTTPRequest.m
+++ b/LIKE/LIKE/LCFramework/Extension/ASI/ASIHTTPRequest.m
@@ -129,7 +129,7 @@ static void ReadStreamClientCallBack(CFReadStreamRef readStream, CFStreamEventTy
// You can use [ASIHTTPRequest setShouldUpdateNetworkActivityIndicator:NO] if you want to manage it yourself
// Alternatively, override showNetworkActivityIndicator / hideNetworkActivityIndicator
// By default this does nothing on Mac OS X, but again override the above methods for a different behaviour
-static BOOL shouldUpdateNetworkActivityIndicator = YES;
+static BOOL shouldUpdateNetworkActivityIndicator = NO;
// The thread all requests will run on
// Hangs around forever, but will be blocked unless there are requests underway
diff --git a/LIKE/LIKE/LCFramework/Network/LCNetworkCenter.m b/LIKE/LIKE/LCFramework/Network/LCNetworkCenter.m
index 0871491..0249378 100644
--- a/LIKE/LIKE/LCFramework/Network/LCNetworkCenter.m
+++ b/LIKE/LIKE/LCFramework/Network/LCNetworkCenter.m
@@ -208,6 +208,7 @@ -(void) cancelRequestsWithObject:(NSObject *)object
if ([task._TagString_ isEqualToString:p]) {
+ [self postNotification:AFNetworkingTaskDidCompleteNotification withObject:task];
[task cancel];
}
}
@@ -267,6 +268,10 @@ -(void) removeTask:(NSURLSessionDataTask *)task withSender:(NSObject *)sender
-(void) handleSuccessTask:(NSURLSessionDataTask *)task responseOjbect:(id)responseObject updateBlock:(LCNetworkCenterBlock)updateBlock sender:(NSObject *)sender
{
+
+ [self postNotification:AFNetworkingTaskDidCompleteNotification withObject:task];
+
+
LCHTTPRequestResult * result = [[LCHTTPRequestResult alloc] init];
result.responseObject = responseObject;
result.task = task;
@@ -284,6 +289,9 @@ -(void) handleFailureTask:(NSURLSessionDataTask *)task
error:(NSError *)error
updateBlock:(LCNetworkCenterBlock)updateBlock sender:(NSObject *)sender
{
+ [self postNotification:AFNetworkingTaskDidCompleteNotification withObject:task];
+
+
LCHTTPRequestResult * result = [[LCHTTPRequestResult alloc] init];
NSDictionary * userInfo = [NSDictionary dictionaryWithObject:LC_LO(@"请求失败...请检查您的网络后重试") forKey:NSLocalizedDescriptionKey];