From 20afa8f23d874866bf5f049136f46c4fccb6255b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=B3=A2?= <1106355439@qq.com> Date: Sat, 28 Sep 2019 14:26:03 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=20=E5=AE=9E=E4=BE=8B=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- YBImageBrowser.podspec | 2 +- .../TestImageBrowser.m" | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/YBImageBrowser.podspec b/YBImageBrowser.podspec index 32fdcc8..23e3759 100644 --- a/YBImageBrowser.podspec +++ b/YBImageBrowser.podspec @@ -5,7 +5,7 @@ Pod::Spec.new do |s| s.name = "YBImageBrowser" - s.version = "3.0.4" + s.version = "3.0.5" s.summary = "iOS image browser / iOS 图片浏览器" diff --git "a/YBImageBrowserDemo/Example/\346\267\273\345\212\240\345\210\260\346\216\247\345\210\266\345\231\250\344\275\277\347\224\250\357\274\210\344\273\245\347\233\270\345\206\214\344\270\272\344\276\213\357\274\211/TestImageBrowser.m" "b/YBImageBrowserDemo/Example/\346\267\273\345\212\240\345\210\260\346\216\247\345\210\266\345\231\250\344\275\277\347\224\250\357\274\210\344\273\245\347\233\270\345\206\214\344\270\272\344\276\213\357\274\211/TestImageBrowser.m" index 5ab3ac5..8bd7da2 100644 --- "a/YBImageBrowserDemo/Example/\346\267\273\345\212\240\345\210\260\346\216\247\345\210\266\345\231\250\344\275\277\347\224\250\357\274\210\344\273\245\347\233\270\345\206\214\344\270\272\344\276\213\357\274\211/TestImageBrowser.m" +++ "b/YBImageBrowserDemo/Example/\346\267\273\345\212\240\345\210\260\346\216\247\345\210\266\345\231\250\344\275\277\347\224\250\357\274\210\344\273\245\347\233\270\345\206\214\344\270\272\344\276\213\357\274\211/TestImageBrowser.m" @@ -27,7 +27,7 @@ - (void)viewDidLoad { YBImageBrowser *browser = [YBImageBrowser new]; // 禁止旋转(但是若当前控制器能旋转,图片浏览器也会跟随,布局可能会错位,这种情况还待处理) - browser.supportedOrientations = UIInterfaceOrientationPortrait; + browser.supportedOrientations = UIInterfaceOrientationMaskPortrait; // 这里演示使用代理来处理数据源(当然用数组也可以) browser.dataSource = self; browser.currentPage = self.selectIndex;