Browse Source

1.修改Apex Mobile部分文本提示信息。

Pen Li 8 years ago
parent
commit
69d15d3b3f

+ 7 - 0
Apex Mobile/AboutViewController.m

@@ -39,6 +39,13 @@
 - (void)viewDidLoad
 {
     [super viewDidLoad];
+    
+    if (@available(iOS 11,*)) {
+        self.infoText.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
+    } else {
+        self.automaticallyAdjustsScrollViewInsets = NO;
+    }
+    
     NSDictionary* infoDict =[[NSBundle mainBundle] infoDictionary];
     NSString* versionNum =[infoDict objectForKey:@"CFBundleVersion"];
     versionNum = [NSString stringWithFormat:@"A%@",versionNum];

+ 3 - 3
Apex Mobile/Apex Mobile/Base.lproj/Localizable.strings

@@ -9,7 +9,7 @@
 "net_error"="Network error, can not access server.";
 "auth_error"="Can not login, user or password may not correct.";
 "ver_low"="Current App version is too low, please update.";
-"about_appinfo" = "Apex Mobile\n\nVersion:%@\nSupport:\nUSAIRedAnt@united-us.net";
+"about_appinfo" = "Apex Mobile\n\nVersion:%@\nSupport:USAIRedAnt@united-us.net";
 "menuitem_setting"="Setting";
 "menuitem_savesearch"="Save Search";
 "save"="Save";
@@ -40,10 +40,10 @@
 "alert_msg_email_sent"="Email has been sent.";
 "menuitem_showdetail"="Show Detail";
 "alert_title_create_tag"="Create a tag to save";
-"alert_msg_savehint"="You can find saved item at tools->Save Detail/Search";
+"alert_msg_savehint"="You can find saved item at My->Save Detail/Search";
 "close"="Close";
 "alert_msg_failed_change_password"="Failed to change password code %d";
 "alert_title_success"="Success!";
 "alert_msg_change_success"="Change success.";
 "alert_msg_password_notequal"="New password not equal confirm password!";
-"ask_click"="\nClick for more detail";
+"ask_click"="\nClick for more detail";

+ 3 - 3
Apex Mobile/Apex Mobile/Main.storyboard

@@ -1,11 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13529" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="YOs-rL-bRV">
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="13771" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="YOs-rL-bRV">
     <device id="retina4_7" orientation="portrait">
         <adaptation id="fullscreen"/>
     </device>
     <dependencies>
         <deployment version="2304" identifier="iOS"/>
-        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13527"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="13772"/>
         <capability name="Safe area layout guides" minToolsVersion="9.0"/>
         <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
     </dependencies>
@@ -384,7 +384,7 @@
                         <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
                         <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
                         <subviews>
-                            <textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" scrollEnabled="NO" editable="NO" text="version:
Support:usairedadt@united-us.net" textAlignment="center" translatesAutoresizingMaskIntoConstraints="NO" id="qjb-87-KPo">
+                            <textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" scrollEnabled="NO" editable="NO" text="version:A150829
Support:usairedadt@united-us.net" textAlignment="center" translatesAutoresizingMaskIntoConstraints="NO" id="qjb-87-KPo">
                                 <rect key="frame" x="0.0" y="20" width="375" height="647"/>
                                 <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
                                 <fontDescription key="fontDescription" name="HelveticaNeue" family="Helvetica Neue" pointSize="17"/>

+ 2 - 2
Apex Mobile/Apex Mobile/OrderHistoryViewController.m

@@ -213,11 +213,11 @@ static const int history_delta = 7;
 }
 
 - (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section {
-    return 0.1;
+    return 10;
 }
 
 - (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section {
-    return 10;
+    return 0.1;
 }
 
 - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(nonnull NSIndexPath *)indexPath {

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

@@ -147,7 +147,7 @@
         UIBarButtonItem *closeItem = [[UIBarButtonItem alloc] initWithImage:[[UIImage imageNamed:@"ic_exit"] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal] style:UIBarButtonItemStylePlain target:self action:@selector(dismissPresentedVC:)];
         viewcontroller.navigationItem.rightBarButtonItem = closeItem;
         JLCustomerNavigationAlertController *nav = [[JLCustomerNavigationAlertController alloc] initWithRootViewController:viewcontroller];
-        nav.preferredContentSize = CGSizeMake(280, 120);
+        nav.preferredContentSize = CGSizeMake(320, 120);
         [self presentViewController:nav animated:YES completion:nil];
     }
 

+ 3 - 3
Apex Mobile/Apex Mobile/zh-Hans.lproj/Localizable.strings

@@ -9,7 +9,7 @@
 "net_error"="网络错误,无法连接到服务器。";
 "auth_error"="无法登录,用户名或密码可能不正确。";
 "ver_low"="当前App版本太低,请升级";
-"about_appinfo" = "Apex Mobile\n\n版本:\n%@\n技术支持:\nUSAIRedAnt@united-us.net";
+"about_appinfo" = "Apex Mobile\n\n版本:%@\n技术支持:USAIRedAnt@united-us.net";
 "menuitem_setting"="设置字段";
 "menuitem_savesearch"="保存搜索";
 "save"="保存";
@@ -39,10 +39,10 @@
 "alert_msg_email_sent"="邮件已发送.";
 "menuitem_showdetail"="查看详细";
 "alert_title_create_tag"="给保存项创建一个标签";
-"alert_msg_savehint"="你可以在 Tools->Save Detail/Search中查看保存项。";
+"alert_msg_savehint"="你可以在 My->Save Detail/Search中查看保存项。";
 "close"="关闭";
 "alert_msg_failed_change_password"="修改密码失败 code %d。";
 "alert_title_success"="成功!";
 "alert_msg_change_success"="修改成功";
 "alert_msg_password_notequal"="新密码两次输入不一致。";
-"ask_click"="\n点击查看详细信息";
+"ask_click"="\n点击查看详细信息";