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:
parent
4d4fd5ea3f
commit
abbe9d1adf
1 changed files with 23 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue