From abbe9d1adf58d74abce826e50a9e3b28a8487671 Mon Sep 17 00:00:00 2001 From: ed Date: Wed, 15 Aug 2018 14:58:31 +0100 Subject: [PATCH] Updated BREAKING-CHANGES.txt to reflect the change to SystemStats::getDeviceDescription() on iOS --- BREAKING-CHANGES.txt | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/BREAKING-CHANGES.txt b/BREAKING-CHANGES.txt index 64d89b4a52..163a70120f 100644 --- a/BREAKING-CHANGES.txt +++ b/BREAKING-CHANGES.txt @@ -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()