RxOrientation 0.1.4

RxOrientation 0.1.4

Maintained by [Meng Li].

Depends on:
RxSwift~> 5
RxCocoa~> 5

  • By
  • lm2343635


CI Status Version License Platform

RxOrientation is a screen orientation notification extension for RxSwift, which transforms the state of screen orientation notifications into RxSwift Observables.


To run the example project, clone the repo, and run pod install from the Example directory first.


RxOrientation is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'RxOrientation'

In your view model class or view controller class, using UIDevice.current.rx.orientation to get the current device orientaion and UIApplication.shared.rx.statusBarOrientation to get the status bar orientaion.

UIApplication.shared.rx.statusBarOrientation.subscribe(onNext: { orientaion in
	// ...
}).disposed(by: disposeBag)


lm2343635, [email protected]


RxOrientation is available under the MIT license. See the LICENSE file for more info.