Iphone layout
Hello everyone,
the design I prepared on Mac is not usable because it does not fit on iPhone. Is it possible to make a simpler menu design specifically for iPhone?
Thank you.
Engin
5 replies
-
The easiest way is to use the ninoxApp() command in the Display only if of the fields you want to hide.
If it is a dashboard you could create a tab that is set for the iphone then hide the other tab if not iphone and unhide the iphone one. This will need a small duplicate set of fields.
-
I use a different method:
In the Global Functions I use the function:
function getPlatform() do if ninoxApp() like "mac" then 1 else if ninoxApp() like "ipad" then 2 else if ninoxApp() like "iphone" then 3 else if ninoxApp() like "android-phone" then 4 else 5 end end end end end;
I have already prepared views suitable for the phone and then in the Trigger After Open area use this code.
if getPlatform() = 3 then openTable("tableName", "Phone") else if getPlatform() = 4 then openTable("tableName", "Phone") else if getPlatform() = 2 then openTable("tableName", "Phone") else if getPlatform() = 5 then openTable("tableName", "All") else openTable("tableName", "All"); let maxId := last((select tableName).Id); openRecord(maxId) end end end end;
So when I open the database on the phone it immediately goes to the correct view.
-
I have no idea how you want to use the mobile version, but I had a WebApp built from the ground up to connect to my Ninox Application via API. Going this route allowed me to provide access to the DB for users without access to the DB itself. It also allows me to customise what users have access to.
If you want to explore this I can put you in touch with the person that built my app. Being a webapp it works on any device, iPhone, Android and even a laptop.
Content aside
- 2 mths agoLast active
- 5Replies
- 59Views
-
5
Following