on 01-13-2016 6:39 AM
Hi all,
I am working on the iOS hybrid app for iPad implemented by SAPUI5. It used to support iPad/iPad mini well, until iPad Pro published.
When the app runs on iPad Pro, the page displays wrongly in the phone version without master-detail design. After researching on this issue, I found SAPUI5 recognizes iPad Pro as phone device wrongly instead of tablet, which caused the display issue.
As seeing the screenshots, sap.ui.Device.system recognized iPad Air as tablet, but recognized iPad Pro as phone.
Do you have any ideas of how to solve this issue? How could SAPUI5 support iPad Pro?
Thanks in advance!
Best Regards,
Angel
function isTablet(customUA) {
var ua = customUA || navigator.userAgent;
if (device.os.name === device.os.OS.IOS) {
return /ipad/i.test(ua);
User Agent string wrong on iPad Pro Cordova web... | Apple Developer Forums
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.