From ee12b2634468af838d0753c99160df27ce57c6d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=91=A3=E5=B0=9A=E5=85=88?= Date: Wed, 13 May 2015 20:02:20 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=88=87=E6=8D=A2?= =?UTF-8?q?=E5=88=B0=E5=B7=A6=E8=BE=B9=E4=BC=9A=E6=8A=BD=E6=90=90=E7=9A=84?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ExampleFiles/MMExampleLeftSideDrawerViewController.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/KitchenSink/ExampleFiles/MMExampleLeftSideDrawerViewController.m b/KitchenSink/ExampleFiles/MMExampleLeftSideDrawerViewController.m index 2e097e1e..2de5d31e 100644 --- a/KitchenSink/ExampleFiles/MMExampleLeftSideDrawerViewController.m +++ b/KitchenSink/ExampleFiles/MMExampleLeftSideDrawerViewController.m @@ -58,6 +58,8 @@ -(void)viewDidDisappear:(BOOL)animated{ -(void)viewDidLoad{ [super viewDidLoad]; + self.automaticallyAdjustsScrollViewInsets = NO; + self.tableView.contentInset = UIEdgeInsetsMake(64, 0, 0, 0); [self setTitle:@"Left Drawer"]; } From 05ae8fc6cee707fbb8cd7439fb7ef87ab3f60020 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=91=A3=E5=B0=9A=E5=85=88?= Date: Wed, 13 May 2015 20:03:02 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E9=A1=BA=E4=BE=BF=E6=8A=8A=E5=8F=B3?= =?UTF-8?q?=E8=BE=B9=E4=B9=9F=E5=A4=84=E7=90=86=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ExampleFiles/MMExampleRightSideDrawerViewController.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/KitchenSink/ExampleFiles/MMExampleRightSideDrawerViewController.m b/KitchenSink/ExampleFiles/MMExampleRightSideDrawerViewController.m index 232a95cb..dccf78d1 100644 --- a/KitchenSink/ExampleFiles/MMExampleRightSideDrawerViewController.m +++ b/KitchenSink/ExampleFiles/MMExampleRightSideDrawerViewController.m @@ -56,6 +56,8 @@ -(void)viewDidDisappear:(BOOL)animated{ -(void)viewDidLoad{ [super viewDidLoad]; + self.automaticallyAdjustsScrollViewInsets = NO; + self.tableView.contentInset = UIEdgeInsetsMake(64, 0, 0, 0); [self setTitle:@"Right Drawer"]; }