Connect with us

iOS 8 beta 5 boasts support for 3x image assets, hints at iPhone 6′s new resolution

TechGreatest

iOS 8 beta 5 boasts support for 3x image assets, hints at iPhone 6′s new resolution

After a long waiting time, Apple has finally announced unveiling iPhone 6 on September 9 and we could also see a wearable iWatch beside the new iPhone. But there is still many questions remain in our minds about the next gen iPhone. Specifically, what might the larger display boast as a resolution? A new find within the iOS 8 beta may indicate a change is indeed coming.

According to a new report published by 9to5mac, iOS 8 beta 5 offers support for 3x image assets, which is new to the platform as a whole. (It was not present in iOS 7.) With this new find, it lends credence to earlier reports that the iPhone 6, with its larger display(s), could boast a new resolution. What’s troubling, though, is that iOS 8 beta 5 loads these 3x image assets inconsistently. However, as noted by the report, the 3x image is generally chosen over the 2x device via the ‘initWithContentsOfFile’ method. So, while it may be inconsistent now, it looks like it will be a standard practice in the upcoming devices.

Within the tests that were run, it was found that when given the option to choose either a 1x, 2x or 3x image asset, the code always chose the 3x asset, even when it should be selecting the image asset based on the current device’s screen scale. You can see the differences in these assets in the top image within the article. The 1x asset is quite pixelated, while the 2x asset is an improvement, but it is still far from perfectly clear. The third asset, though, is quite sharp.

Using a set of test images with @1x, @2x and @3x prefixes, the code will always load the 3x asset, even though — per documentation — it should select the image for the current device’s screen scale. For clarity, each test image is numbered for which scale it represents. Thus, the number 3 in the iOS Simulator shows that iOS has selected the image suitable for a 3x screen scale.

Things are getting more clear..

[Source]

After an extended ready time, Apple has lastly introduced unveiling iPhone 6 on September 9 and we might additionally see a wearable iWatch beside the brand new iPhone. However there's nonetheless many questions stay in our minds concerning the subsequent gen iPhone. Particularly, what may the bigger show boast as a decision? A brand new discover inside the iOS eight beta might point out a change is certainly coming.

In accordance with a brand new report revealed by 9to5mac, iOS eight beta 5 presents help for 3x picture belongings, which is new to the platform as an entire. (It was not current in iOS 7.) With this new discover, it lends credence to earlier reviews that the iPhone 6, with its bigger show(s), might boast a brand new decision. What’s troubling, although, is that iOS eight beta 5 masses these 3x picture belongings inconsistently. Nevertheless, as famous by the report, the 3x picture is usually chosen over the 2x system by way of the ‘initWithContentsOfFile’ technique. So, whereas it might be inconsistent now, it seems like will probably be an ordinary apply within the upcoming units.

Inside the exams that have been run, it was discovered that when given the choice to decide on both a 1x, 2x or 3x picture asset, the code all the time selected the 3x asset, even when it ought to be choosing the picture asset based mostly on the present gadget’s display scale. You possibly can see the variations in these belongings within the prime picture inside the article. The 1x asset is sort of pixelated, whereas the 2x asset is an enchancment, however it's nonetheless removed from completely clear. The third asset, although, is sort of sharp.
Utilizing a set of check pictures with @1x, @2x and @3x prefixes, the code will all the time load the 3x asset, despite the fact that — per documentation — it ought to choose the picture for the present system’s display scale. For readability, every check picture is numbered for which scale it represents. Thus, the quantity three within the iOS Simulator exhibits that iOS has chosen the picture appropriate for a 3x display scale.

Issues are getting extra clear..

[Source]
Comments

More in TechGreatest

Popular

Featured

Advertisement
To Top