Rodrigo Chavarria Rodrigo Chavarria - 1 year ago 97
iOS Question

How to know the current storyboard name in xamarin iOS?

How can I put in a string variable the name of the current storyboard
Ive got this for objective-c

UIStoryboard * storyboard = self.storyboard;
NSString * storyboardName = [storyboard valueForKey:@"name"];

but I have to pass it to Xamarin iOS

Answer Source


var storyBoard = this.Storyboard;
var storyBoardName = storyBoard.ValueForKey(new NSString ("name"));
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download