iOS Guides | Samples

MonoTouch.UIKit.UIViewController Constructor

A constructor used when creating a view controller using the information that is stored in the nib file.

Syntax

[MonoTouch.Foundation.Export("initWithNibName:bundle:")]
public UIViewController (string nibName, NSBundle bundle)

Parameters

nibName

The NIB name, or null.

This parameter can be null.

bundle

The bundle where the search for the NIB takes place, if you pass null, this searches for the NIB on the main bundle.

This parameter can be null.

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0