| Summary: | No way to detect orientation flip on iOS | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Ryan David Sheasby <ryan27968> |
| Component: | events | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | API change | ||
| Priority: | P2 | CC: | ryan27968 |
| Version: | don't know | ||
| Hardware: | iPhone/iPod touch | ||
| OS: | iOS 9 | ||
|
Description
Ryan David Sheasby
2018-09-27 13:04:21 UTC
In SDL 2.0.9 you use the function SDL_GetDisplayOrientation(), and watch for the event SDL_DISPLAYEVENT to detect changes. You can get a prerelease version here: http://www.libsdl.org/tmp/SDL-2.0.zip Cheers! |