| Summary: | Uikitvideo calls unimplemented method in 3.1 | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Vittorio Giovara <vitto.giova> |
| Component: | video | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | icculus, kees |
| Version: | HG 2.0 | ||
| Hardware: | iPhone/iPod touch | ||
| OS: | iOS (All) | ||
| Bug Depends on: | 1239 | ||
| Bug Blocks: | |||
| Attachments: |
final tweaks for full ios 3 compability
fix the inverted condition check better version check uikitviewcontroller update uikitviewcontroller update updated |
||
|
Description
Vittorio Giovara
2011-08-06 04:03:17 UTC
My repo at https://bitbucket.org/keestux/sdl already has somewhat of a fix, but it would probably be more Objective-C to use respondsToSelector. I'll make that change. Having said that, with my current changes the code does not execute any UIScreenMode related code if the iOS is older than 3.2. So I would think it shouldn't crash anymore. Created attachment 720 [details]
final tweaks for full ios 3 compability
I've atteched some further tweaks
Hi Vittorio, thanks for the patches Perhaps we need to split them up. 1. bugfix using the inverted condition 2. using respondsToSelector instead of checking the version 3. the uikitcontroller change About 3. Is that change alright? What's the point of computing "frame" if it is not used? Created attachment 721 [details]
fix the inverted condition check
Created attachment 722 [details]
better version check
Created attachment 723 [details]
uikitviewcontroller update
Kees, you are right about 3, I removed the computation instead. Also I've split up the patches! Comment on attachment 721 [details]
fix the inverted condition check
this was applied in 2e4a1b92dc6f
Attachment #722 [details] is now hg changeset 30d57832687a, thanks! What's the goal of Attachment #723 [details], though? Should we not check orientation when reporting screen dimensions? --ryan. Comment on attachment 722 [details]
better version check
added in 30d57832687a
Created attachment 728 [details]
uikitviewcontroller update updated
actually no, in the previous patch i got code mixed for another bug.
Please consider the version i uploaded now, it basically changes which uiscreen is going to provide teh screen size.
(In reply to comment #11) > actually no, in the previous patch i got code mixed for another bug. > Please consider the version i uploaded now, it basically changes which uiscreen > is going to provide teh screen size. This is now hg changeset a8696b259e09, thanks! Resolving this bug as FIXED now, as I think we got everything taken care of at this point. --ryan. |