Преглед изворни кода

1.修改iOS Apex Mobile Result将文件预览类文件存放路径修改为Common/CustomerUI。

Pen Li пре 8 година
родитељ
комит
62329eb938

+ 2 - 2
Apex Mobile/Apex Mobile.xcodeproj/project.pbxproj

@@ -430,8 +430,8 @@
 		71F67CF819065EA8004E8462 /* SimpleMenu.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SimpleMenu.m; sourceTree = "<group>"; };
 		71F67CF819065EA8004E8462 /* SimpleMenu.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SimpleMenu.m; sourceTree = "<group>"; };
 		71F67CFA19066375004E8462 /* PulldownMenu.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PulldownMenu.h; sourceTree = "<group>"; };
 		71F67CFA19066375004E8462 /* PulldownMenu.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PulldownMenu.h; sourceTree = "<group>"; };
 		71F67CFB19066375004E8462 /* PulldownMenu.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PulldownMenu.m; sourceTree = "<group>"; };
 		71F67CFB19066375004E8462 /* PulldownMenu.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PulldownMenu.m; sourceTree = "<group>"; };
-		71FCDE0520492B5E00B0746B /* MyQLPreviewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MyQLPreviewController.h; sourceTree = "<group>"; };
-		71FCDE0620492B5E00B0746B /* MyQLPreviewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MyQLPreviewController.m; sourceTree = "<group>"; };
+		71FCDE0520492B5E00B0746B /* MyQLPreviewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MyQLPreviewController.h; path = ../../common/customUI/MyQLPreviewController.h; sourceTree = "<group>"; };
+		71FCDE0620492B5E00B0746B /* MyQLPreviewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MyQLPreviewController.m; path = ../../common/customUI/MyQLPreviewController.m; sourceTree = "<group>"; };
 /* End PBXFileReference section */
 /* End PBXFileReference section */
 
 
 /* Begin PBXFrameworksBuildPhase section */
 /* Begin PBXFrameworksBuildPhase section */

+ 0 - 13
Apex Mobile/Apex Mobile/MyQLPreviewController.h

@@ -1,13 +0,0 @@
-//
-//  MyQLPreviewController.h
-//  Apex Mobile
-//
-//  Created by Ray on 02/03/2018.
-//  Copyright © 2018 United Software Applications, Inc. All rights reserved.
-//
-
-#import <QuickLook/QuickLook.h>
-
-@interface MyQLPreviewController : QLPreviewController
-
-@end

+ 0 - 66
Apex Mobile/Apex Mobile/MyQLPreviewController.m

@@ -1,66 +0,0 @@
-//
-//  MyQLPreviewController.m
-//  Apex Mobile
-//
-//  Created by Ray on 02/03/2018.
-//  Copyright © 2018 United Software Applications, Inc. All rights reserved.
-//
-
-#import "MyQLPreviewController.h"
-
-@interface MyQLPreviewController ()
-
-@end
-
-@implementation MyQLPreviewController
-
-- (void)viewDidLoad {
-    [super viewDidLoad];
-//    self.toolbarItems = nil;
-    
-//    for(UIView* v in self.view.subviews)
-//    {
-//        if ([v isKindOfClass:[UIToolbar class] ]) {
-//            v.hidden = YES;
-//        }
-//    }
-    // Do any additional setup after loading the view.
-}
--(void)viewWillLayoutSubviews
-{
-    [super viewWillLayoutSubviews];
-    
-//    self.navigationController.navigationBar.hidden = YES;
-    
-//    self.navigationController.toolbar.hidden = YES;
-//    [self.navigationController.toolbar removeFromSuperview];
-//    UIView* v1 = self.navigationController.toolbar.superview;
-//    UIView* v2 = self.navigationController.toolbar;
-    [self.navigationController setToolbarHidden:true];
-    
-//    self.navigationController.toolbar.backgroundColor = [UIColor clearColor];
-    //把tool bar frame置为空,实现隐藏
-    self.navigationController.toolbar.frame = CGRectMake(0, 0, 0, 0);
-//    [self.navigationController.toolbar.superview removeFromSuperview];
-//    // custom view demonstrate
-//    UIView *topView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 100, 30)];
-//    topView.backgroundColor = [UIColor redColor];
-//
-//    [self.view addSubview:topView];
-}
-- (void)didReceiveMemoryWarning {
-    [super didReceiveMemoryWarning];
-    // Dispose of any resources that can be recreated.
-}
-
-/*
-#pragma mark - Navigation
-
-// In a storyboard-based application, you will often want to do a little preparation before navigation
-- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
-    // Get the new view controller using [segue destinationViewController].
-    // Pass the selected object to the new view controller.
-}
-*/
-
-@end