This set of extensions has more than 100 functions to improve the design of most iOSControls.
The large range of features goes from setting a background color of an iOSView to changing the selection color of an iOSTableCell.
This set of extensions has more than 100 functions to improve the design of most iOSControls.
The large range of features goes from setting a background color of an iOSView to changing the selection color of an iOSTableCell.[/quote]
Well Jeremie, I must say, quite impressive, finally we start to have something on IOS as well .
I did some tests, except Modal View Curl which is crashing the rest are ok.
Is there no way for the community to put enough pressure on to get some of these things done? At a minimum, all the functionality currently in iOSDesignExtensions and iOSKit should be built into Xojo IDE!
They have made a few additions over the years - iOSTable is particularly nice now - but it continues to baffle many of us why extremely basic functionality (tweaking background colors of controls etc) wasn’t included from day 1. And don’t expect it to arrive any time soon, I expect they’re all about Android now and that is built on Interops, which iOS won’t have at first, so this is it for now.
You can build a whole project for free, which is pretty great, it’s only the final build for distribution that you require a license for. So, try it and if it’s got enough for you, buy it. If not, don’t pay for it. That’s about all we can do. I don’t think the Feedback cases for iOS are making any difference whatsoever.
Android is built on Interops, it should be easier than declares.
The Xojo engineers showed an example of Interops at XDC and it looks much more intuitive than declares.
If necessary, I will certainly update iOSDesignExtensions to include all Android equivalent features, but keep in mind that an app design on Android is usually different than on iOS.
Hybrid apps that have the exact same design on Android and iOS usually look odd in best cases, and ugly in worst cases.
Is there a way to change the text color of the date picker? In Dark Mode its default text color is white which is unfortunate if you have it on light background.
If you are using iOSDesignExtensions, this should work:
declare sub setValue_ lib "Foundation" selector "setValue:forKey:" (obj_id as ptr, value as ptr, key as CFStringRef)
setValue_(DatePicker1.Handle, UIColor.Red, "textColor") //Change UIColor.Red to any other value of UIColor
Place that code in the Control’s open event (for iOS 12-)
And place that code in the View’s AppearanceChanged event (for iOS 13+)