Rodrigo Chavarria Rodrigo Chavarria - 1 year ago 68
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"));