Latest 1.3.0
Homepage https://github.com/changsanjiang/SJOrentationObserver
License MIT
Platforms ios 8.0, requires ARC
Dependencies Masonry, SJObserverHelper
Frameworks UIKit
Authors

Use

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

Pod

    pod 'SJOrentationObserver'

Contact

Latest podspec

{
    "name": "SJOrentationObserver",
    "version": "1.3.0",
    "summary": "Screen rotation observer.",
    "description": "Screen rotation observer, u5c4fu5e55u65cbu8f6cu52a9u624b.",
    "homepage": "https://github.com/changsanjiang/SJOrentationObserver",
    "license": {
        "type": "MIT",
        "file": "LICENSE.md"
    },
    "authors": {
        "SanJiang": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/changsanjiang/SJOrentationObserver.git",
        "tag": "v1.3.0"
    },
    "source_files": "SJOrentationObserver/*.{h,m}",
    "frameworks": "UIKit",
    "requires_arc": true,
    "dependencies": {
        "Masonry": [],
        "SJObserverHelper": []
    },
    "subspecs": [
        {
            "name": "Category",
            "source_files": "SJOrentationObserver/Category/*.{h,m}"
        }
    ]
}

Pin It on Pinterest

Share This