SJOrentationObserver
Use
_observer = [[SJOrentationObserver alloc] initWithTarget:targetView container:superview];
_observer.rotationCondition = ^BOOL(SJOrentationObserver * _Nonnull observer) {
if ( .... ) return NO;
return YES;
};
Pod
pod 'SJOrentationObserver'
Contact
- Email: [email protected]
- QQ: 1779609779
- QQGroup: 719616775