Edit

Share via


UINib.FromName(String, NSBundle) Method

Definition

Loads a UINib from the specified name. If bundleOrNil is null, the main bundle is searched.

[Foundation.Export("nibWithNibName:bundle:")]
public static UIKit.UINib FromName (string name, Foundation.NSBundle bundleOrNil);
static member FromName : string * Foundation.NSBundle -> UIKit.UINib

Parameters

name
String
bundleOrNil
NSBundle

The bundle to use when resolving resource references, if you pass null, this will lookup the resources in the main bundle.

This parameter can be null.

Returns

Attributes

Applies to