It provides horizontal and vertical screen support for SDK to build UI interface
专门为SDK构建UI界面提供横竖屏支持。
我们在开发自己的SDK场景下,在别人接入我们开发的SDK时,SDK是不知道对方工程屏幕是怎样设定的,ZBOrientation 是无视对接方工程方向。
可以查看示例工程只支持竖屏,但是工程中弹出ZBSDKViewController
控制器是横屏,然而并不影响原来工程控制器方向。
To run the example project, clone the repo, and run pod install
from the Example directory first.
ZBOrientation is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'ZBOrientation'
itzhangbao, itzhangbao@163.com,itzhangbao.com
ZBOrientation is available under the MIT license. See the LICENSE file for more info.