iPad sizes
-
hello I have read the iOS tutorial and it works fine in hise 1.1 but in hise 2.0 I can not export the interface when I push save script to file it do nothing I think that is because now in hise 2.0 the interface changes are not reflected in the script editor.
What is the correct way to work with different iPad sizes in hise 2.0? why now is there only an iPad simulator and how can I make an app that works correctly in all the actual different iPad sizes?
thanks a lot for hise and for your help sorry for my English -
Why would you want to save the script as file? The procedure is not any different than with HISE 1.1.
Actually, all iPads have the same logical resolution of 1024x768, Retina iPads do use the double resolution automatically and the big 12,9" iPad just scales that up (so it looks a bit more blurry there, but that's the only downside also the percentage of 12,9" users are pretty much neglible)...
-
@Christoph-Hart hi, thanks a lot Christoph
i have tested the 1024x768 iPad revolution in Xcode 10.1 (I still don't know wath happens in Xcode 10.2) and it works fine in all simulators:
but there is a problem with the iPad 11 inch:
it should have another resolutionthats why I think that it should be necessary to make a specific interface file for that device
do you know with device name I have to put in the iPad Pro 11 inch specific interface file to use the {DEVICE} wildcard?in hise 1.1 when you make the interface graphically the on init script reflect the additions in code this process don't happens in hise 2.0 and you can't save the interface to a file and recover it if you don't make it programatically I think the easy solution is to make the interface in hise 1.1 and then use it in hise 2.0 is there another way to make the interface graphically in hise 2.0 and save it to a file?
thanks a lot
-
Ah, I wasn't aware of the new 11" iPad, I'll need to add support for this (I think it will still use the other screen size and just resize it.
-
in hise 1.1 when you make the interface graphically the on init script reflect the additions in code this process don't happens in hise 2.0
In HISE 2 all of the JSON code is hidden. You should build your interface using the interface designer rather than doing it through scripting, except in some specific instances. In the interface designer you can click on one of your widgets and press the
j
on your keyboard to see the JSON code.When you save your project as an XML file all of the UI data is saved too in a separate XML file in a sub-folder in the XMLPresetBackups folder.