{"id":22107508,"url":"https://github.com/yudiz-solutions/motionorientationdemo","last_synced_at":"2026-06-20T12:33:01.369Z","repository":{"id":154153621,"uuid":"146562459","full_name":"yudiz-solutions/MotionOrientationDemo","owner":"yudiz-solutions","description":"The notify the orientation of iOS device changed, using CoreMotion for even taking the orientation in 'Orientation Lock'.","archived":false,"fork":false,"pushed_at":"2023-10-31T13:12:46.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-07T15:41:03.732Z","etag":null,"topics":["accelerometer","coremotion","deviceorientation","ios","motion","orientation","swift","swift4"],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yudiz-solutions.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-29T07:30:29.000Z","updated_at":"2023-10-31T12:42:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"2d714c19-70c5-45ec-b8cf-11376cfa9178","html_url":"https://github.com/yudiz-solutions/MotionOrientationDemo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yudiz-solutions/MotionOrientationDemo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yudiz-solutions%2FMotionOrientationDemo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yudiz-solutions%2FMotionOrientationDemo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yudiz-solutions%2FMotionOrientationDemo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yudiz-solutions%2FMotionOrientationDemo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yudiz-solutions","download_url":"https://codeload.github.com/yudiz-solutions/MotionOrientationDemo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yudiz-solutions%2FMotionOrientationDemo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34570537,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-20T02:00:06.407Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["accelerometer","coremotion","deviceorientation","ios","motion","orientation","swift","swift4"],"created_at":"2024-12-01T08:17:53.834Z","updated_at":"2026-06-20T12:33:01.355Z","avatar_url":"https://github.com/yudiz-solutions.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MotionOrientation\nThe notify the orientation of iOS device changed, using CoreMotion for even taking the orientation in 'Orientation Lock'.\n\n\n# Requirements\n- Xcode\n- Swift 4.1\n\n# Usage\n\nRun below line for Start motion manager\n\n```\nYZMotionOrientationManager.shared.startAccelerometerUpdates(deviceBlock: { (deviceOrientation) in\n// code \n}) { (interfacOrientation) in\n// code \n}\n```\n\nYou will get device orientation and interface orientation using block.\n\n\n**Run below line for stop motion manager**\n\n```YZMotionOrientationManager.shared.stopAccelerometerUpdates()```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyudiz-solutions%2Fmotionorientationdemo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyudiz-solutions%2Fmotionorientationdemo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyudiz-solutions%2Fmotionorientationdemo/lists"}