瀏覽代碼

修改Wish List QTY布局,使之在屏幕旋转后位置不会发生变化。
ImagePicker遵守navigationdelegate协议。

Pen Li 9 年之前
父節點
當前提交
315cceed76

二進制
RedAnt ERP Mobile/RedAnt ERP Mobile.xcworkspace/xcuserdata/macmini1.xcuserdatad/UserInterfaceState.xcuserstate


+ 9 - 3
RedAnt ERP Mobile/RedAnt ERP Mobile.xcworkspace/xcuserdata/macmini1.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

@@ -4,13 +4,19 @@
    version = "2.0">
    <Breakpoints>
       <BreakpointProxy
-         BreakpointExtensionID = "Xcode.Breakpoint.ExceptionBreakpoint">
+         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
          <BreakpointContent
             shouldBeEnabled = "Yes"
             ignoreCount = "0"
             continueAfterRunningActions = "No"
-            scope = "0"
-            stopOnStyle = "0">
+            filePath = "common/CommonEditor/CommonEditorCellImg.m"
+            timestampString = "510212834.660539"
+            startingColumnNumber = "9223372036854775807"
+            endingColumnNumber = "9223372036854775807"
+            startingLineNumber = "73"
+            endingLineNumber = "73"
+            landmarkName = "-TouchImageViewOnTouche:"
+            landmarkType = "7">
          </BreakpointContent>
       </BreakpointProxy>
    </Breakpoints>

+ 2 - 1
RedAnt ERP Mobile/common/Functions/watchlist/WatchListViewController.m

@@ -1238,7 +1238,7 @@ commitEditingStyle:(UITableViewCellEditingStyle)editingStyle  forRowAtIndexPath:
         _qtyLabel = [[UILabel alloc] initWithFrame:CGRectMake(self.itemListTable.bounds.size.width - 200, 5.5, 40, 22)];
         _qtyLabel.text = @"QTY";
         _qtyLabel.textAlignment = NSTextAlignmentCenter;
-        _qtyLabel.autoresizingMask=UIViewAutoresizingFlexibleWidth;
+        _qtyLabel.autoresizingMask= UIViewAutoresizingFlexibleLeftMargin;
     }
     return _qtyLabel;
 }
@@ -1255,6 +1255,7 @@ commitEditingStyle:(UITableViewCellEditingStyle)editingStyle  forRowAtIndexPath:
 }
 
 - (void)willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration {
+    
     self.sortItemController.view.frame = self.view.bounds;
     self.qtyLabel.frame = CGRectMake(self.itemListTable.bounds.size.width - 200, 5.5, 40, 22);
 

+ 1 - 1
RedAnt ERP Mobile/common/customUI/ImageUploadViewController.h

@@ -8,7 +8,7 @@
 
 #import <UIKit/UIKit.h>
 
-@interface ImageUploadViewController : UIViewController<UIImagePickerControllerDelegate>
+@interface ImageUploadViewController : UIViewController<UINavigationControllerDelegate,UIImagePickerControllerDelegate>
 @property (strong, nonatomic) IBOutlet UIImageView *imgview;
 @property (strong, nonatomic) IBOutlet UIButton *buttonAlbum;
 @property (strong, nonatomic) IBOutlet UIButton *buttonCamera;