SJOrentationObserver 1.3.0

SJOrentationObserver 1.3.0

Maintained by changsanjiang.



 
Depends on:
Masonry>= 0
SJObserverHelper>= 0
 

  • By
  • SanJiang

SJOrentationObserver

Use

    _observer = [[SJOrentationObserver alloc] initWithTarget:targetView container:superview];
    _observer.rotationCondition = ^BOOL(SJOrentationObserver * _Nonnull observer) {
        if ( .... ) return NO;
        return YES;
    };

Pod

	pod 'SJOrentationObserver'

Contact