Просмотр исходного кода

1.修改Apex Mobile Activity Indicator颜色。
2.修改Apex Mobile Result请求参数Offset错误。

Pen Li 8 лет назад
Родитель
Сommit
93c1562b79
2 измененных файлов с 4 добавлено и 1 удалено
  1. 1 1
      Apex Mobile/Apex Mobile/AMResultViewController.m
  2. 3 0
      Apex Mobile/Apex Mobile/AppDelegate.m

+ 1 - 1
Apex Mobile/Apex Mobile/AMResultViewController.m

@@ -193,7 +193,7 @@
 //
 //
 //            NSDictionary *contentDic = json;
 //            NSDictionary *contentDic = json;
             
             
-            NSDictionary *contentDic = [RANetwork search:[self.params mutableCopy]];
+            NSDictionary *contentDic = [RANetwork search:dic];
             
             
             NSInteger result = [[contentDic objectForKey:@"result"] integerValue];
             NSInteger result = [[contentDic objectForKey:@"result"] integerValue];
             dispatch_async(dispatch_get_main_queue(), ^{
             dispatch_async(dispatch_get_main_queue(), ^{

+ 3 - 0
Apex Mobile/Apex Mobile/AppDelegate.m

@@ -239,5 +239,8 @@ void UncaughtExceptionHandler(NSException *exception) {
     [[UIBarButtonItem appearance] setTitleTextAttributes:[NSDictionary dictionaryWithObjectsAndKeys:APREDCOLOR, NSForegroundColorAttributeName, nil] forState:UIControlStateHighlighted];
     [[UIBarButtonItem appearance] setTitleTextAttributes:[NSDictionary dictionaryWithObjectsAndKeys:APREDCOLOR, NSForegroundColorAttributeName, nil] forState:UIControlStateHighlighted];
     [[UIBarButtonItem appearance] setTitleTextAttributes:[NSDictionary dictionaryWithObjectsAndKeys:APGRAYCOLOR, NSForegroundColorAttributeName, nil] forState:UIControlStateNormal];
     [[UIBarButtonItem appearance] setTitleTextAttributes:[NSDictionary dictionaryWithObjectsAndKeys:APGRAYCOLOR, NSForegroundColorAttributeName, nil] forState:UIControlStateNormal];
     [[UIBarButtonItem appearance] setTintColor:APGRAYCOLOR];
     [[UIBarButtonItem appearance] setTintColor:APGRAYCOLOR];
+    
+    // Activity
+    [[UIActivityIndicatorView appearance] setColor:APGRAYCOLOR];
 }
 }
 @end
 @end