1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Updated BREAKING-CHANGES.txt to reflect the change to SystemStats::getDeviceDescription() on iOS

This commit is contained in:
ed 2018-08-15 14:58:31 +01:00
parent 4d4fd5ea3f
commit abbe9d1adf

View file

@ -4,6 +4,29 @@ JUCE breaking changes
Develop
=======
Change
------
SystemStats::getDeviceDescription() will now return the device code on iOS e.g.
"iPhone7, 2" for an iPhone 6 instead of just "iPhone".
Possible Issues
---------------
Code that previously relied on this method returning either explicitly "iPhone"
or "iPad" may no longer work.
Workaround
----------
Modify this code to handle the new device code string e.g. by changing:
SystemStats::getDeviceDescription() == "iPhone";
to
SystemStats::getDeviceDescription().contains ("iPhone");.
Rationale
---------
The exact device model can now be deduced from this information instead of just
the device family.
Change
------
DragAndDropContainer::performExternalDragDropOfFiles() and ::performExternalDragDropOfText()