Sunday, November 8, 2026
HomeiOS DevelopmentShow a popup with "swipable slides" in xamarin.ios?

Show a popup with “swipable slides” in xamarin.ios?

[ad_1]

I’ve achieved main refactoring of my app and to assist my customers align with the brand new behaviour, when beginning my app I need to show just a few data slides that the person can learn earlier than beginning to use the app (with the conventional “do not present on startup”-button).

I am utilizing storyboard and have applied it as utilizing InstantiateViewController from a programmatically instantiated storyboard and simply presenting it as UIModalPresentationStyle.Popover within the calling viewcontroller but it surely does not give me the “popup” impact that I am after. The popup vc is displayed “over” the calling viewcontroller however the calling view “shrinks” because it goes into the background.

Is there one other technique to preserve the design in storyboard however displaying the uiviewcontroller as an alert dialog or much like get the extra of a popup/popover/alert model?

{
    var storyboard = UIStoryboard.FromName("MyStoryboard", null);
    var popup = storyboard.InstantiateViewController("PopupController");
    popup.ModalPresentationStyle = UIModalPresentationStyle.Popover;

    // Current the view controller (in a popover).
    PresentViewController(popup, true, null);
}

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments