So does the Geometry Manager NOT WORK for iOS?
I've read a lot of conflicting information about it with mobile in general.
I've tried implementing it using the "Scale Position Selected", but that doesn't do anything when I deploy it to my phone.
When doing so I make sure to include "Geomotry" in my "Inclusions" when doing my build, and not having any sort of "set the fullscreenmode of this stack to..."line in my program.
Has anyone experimented with the Geometry Manager for iOS deployment and have any part of it work?
Thanks!
Geometry Manager and iOS
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 9857
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Geometry Manager and iOS
The Geometry Manager is a complex collection of hundreds of lines of code that ultimately just handles the resizeStack message. I find it simpler to just write my own resizeStack handler directly.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Geometry Manager and iOS
One of my initial projects when getting into LiveCode was making GM and PM work on mobile. As I've worked on some additional projects, I'm beginning to think that in most cases using your own library or custom code would be easier.
Geometry manager does work on iOS as long as you are using 9.0 or later. There are some considerations that you will need to take into account though. Probably the biggest one is the iOS notch. This makes using the GM more difficult since it does not provide a way by itself to handle this situation. You could use the profile manager, but then you are probably doing more work messing with the stack than you would need to do than by just writing your own resize handlers.
Check out this thread for some earlier discussion:
https://forums.livecode.com/viewtopic.php?f=7&t=30018
The workarounds are no longer required.
Here's a GitHub repo that contains the current version of the demo stack discussed in the linked thread:
https://github.com/bwmilby/mobileDemo
I have not done anything in that stack to deal with the notch. In the projects that I have worked, I ended up using a custom handler to figure out if the device had a notch and then adjust accordingly. The code is available for review:
https://github.com/Himalayan-Academy/Si ... codescript
Geometry manager does work on iOS as long as you are using 9.0 or later. There are some considerations that you will need to take into account though. Probably the biggest one is the iOS notch. This makes using the GM more difficult since it does not provide a way by itself to handle this situation. You could use the profile manager, but then you are probably doing more work messing with the stack than you would need to do than by just writing your own resize handlers.
Check out this thread for some earlier discussion:
https://forums.livecode.com/viewtopic.php?f=7&t=30018
The workarounds are no longer required.
Here's a GitHub repo that contains the current version of the demo stack discussed in the linked thread:
https://github.com/bwmilby/mobileDemo
I have not done anything in that stack to deal with the notch. In the projects that I have worked, I ended up using a custom handler to figure out if the device had a notch and then adjust accordingly. The code is available for review:
https://github.com/Himalayan-Academy/Si ... codescript
Brian Milby
Script Tracker https://github.com/bwmilby/scriptTracker
Script Tracker https://github.com/bwmilby/scriptTracker