HI! This question may be trivial, but I cannot find any way to do it.
Is there any way to change the iosScreen Screen Layout from a specific View to Tabs in the middle of execution? Suppose we start with a Screen pointing to a view, such as authentication, after successful authentication I would like to switch to a screen with Tabs.
Is there any way to do that?
Another way is to present the authentication view modally. To do that, declare:
Declare Sub presentViewController Lib "UIKit" Selector "presentViewController:animated:completion:" (parentView As Ptr, viewControllerToPresent As Ptr, animated As Boolean, completion As Ptr)
Then:
dim yourView As New yourAuthenticationView
yourView.Parent = parentView
presentViewController(parentView.Handle, yourview.Handle, True, Nil)
But if you do this, you need to dismiss your modal view in this way:
Declare Sub dismissViewController Lib "UIKit" Selector "dismissViewControllerAnimated:completion:" (parentView As Ptr, animated As Boolean, completion As Ptr)
dismissViewController(self.viewControllerHandle, True, Nil)
Me.Close