Get storyboard property

2 posts, 0 answers
  1. Thomas
    Thomas avatar
    1 posts
    Member since:
    Apr 2016

    Posted 29 Apr Link to this post

    When using SideDrawerController how can I get the current storyboard so that I can perform segue to other view controllers on side drawer item selection?
  2. Adrian
    Admin
    Adrian avatar
    167 posts

    Posted 04 May Link to this post

    Hello, Thomas,

    Thank you for contacting us.

    You can get the storyboard in your application using UIStoryboard's FromName static method. Consider the code below:
    UIStoryboard storyboard = UIStoryboard.FromName (NSBundle.MainBundle.InfoDictionary.ObjectForKey (new NSString("UIMainStoryboardFile")) as NSString, NSBundle.MainBundle);

    I hope this helps.

    Regards,
    Adrian
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. DevCraft banner
Back to Top