if you look at these screenshot, are iOSTables with round corners in Xojo possible? Does anyone have a declare?
And, is it possible to show/hide a split view in landscape mode? This is possible in iAWriter or Ulysses (fifth button from the right side) via Toolbutton Click.
Thanks for your input Jeremy. I already use your pretty cool iOSDesignExtensions. Could you please create a small sample project with both declares? Using SetDisplayMode within a View crashes the App:
A somewhat similar question so posting here rather than starting a new thread.
I have an iPad app that uses split mode in landscape only. when the user taps a button, I want the app to show a photo in the Details view display full screen AND allow the user to draw on the photo with finger or stylus.
Setting the display mode to PrimaryHidden almost works except that when the user starts drawing on the photo, the system interprets it as a swipe and displays the Primary/Master panel temporarily. From reading the Apple documentation, it seems what I want to do is set the isCollapsed property to True rather than setting the display mode to PrimaryHidden.
Is that what I want to do and if so what declares are necessary to do that (and then set isCollapsed to False again after the user finished editing and taps a close button). Alternative strategies welcome!
(Pre-iOS 13, I did this using a modal view which worked wonderfully, but of course does not work now because drawing in the model view is also interpreted as a swipe)
Thanks, Jeremie. Unfortunately, both versions crash the simulator and replacing “collapsed” with “isCollapsed” suffers the same fate. I also tried “Self.ParentSplitView.ViewControllerHandle” in place of “App.CurrentScreen.content.ViewControllerHandle” with the same result.
I appreciate you taking the time to give it some thought.
Declare Sub presentsWithGesture Lib "UIKit" selector "setPresentsWithGesture:" (obj As Ptr, value As Boolean)
presentsWithGesture(app.CurrentScreen.Content.ViewControllerHandle, false)
[quote=476742:@Jeremie Leroy]When you need to hide the master view call this:
Declare Sub presentsWithGesture Lib “UIKit” selector “setPresentsWithGesture:” (obj As Ptr, value As Boolean)
presentsWithGesture(app.CurrentScreen.Content.ViewControllerHandle, false)
And set the display to PrimaryHidden[/quote]