Browse Source

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

tags/2021-05-28
ed 6 years ago
parent
commit
abbe9d1adf
1 changed files with 23 additions and 0 deletions
  1. +23
    -0
      BREAKING-CHANGES.txt

+ 23
- 0
BREAKING-CHANGES.txt 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()


Loading…
Cancel
Save