Hallo,
I'm currently working at a webshop for mobile devices which will adopt the oData of WCEM 3.0.
But I have an other problem with the control sap.m.bar.
It doesn't show at any time if I preview my work in the mobile browser (Chrome on iPhone 5) but it does work on my Mac book (Chrome).
Here my code for the page setup:
new sap.m.Page({
title: "Product detail",
showNavButton: true,
navButtonTap: function(){
app.back(); // when tapped, the back button should navigate back to page 1
},
headerContent: [
new sap.m.Button({
text: "Basket",
press: function(){ app.to("id-page-basket"); }
}),
new sap.m.Button({
text: "Add to cart",
type: sap.m.ButtonType.Accept,
tap: function(){ oController.clickBuy(); }
})
],
footer: new sap.m.Bar({
contentRight: [
new sap.m.Button({
text: "Add to cart",
type: sap.m.ButtonType.Accept,
tap: function(){ oController.clickBuy(); }
})
]
}),
content: [
oListDetail,
new sap.m.VBox({
alignItems : sap.m.FlexAlignItems.Center,
items : [
oImage
]
})
]
});
Anyway it not even working with this link: https://sapui5.hana.ondemand.com/sdk/test-resources/sap/m/demokit/explored/index.html?sap-ui-xx-fakeOS=iphone
(Container -> Page & Bar)
Thanks for your help