iOS MonoTouch: Adding a Background Pattern to Your Application

From what I can tell there isn’t any real easy way to just set a background pattern to the entire app in iOS. So to get around this I put a UIView under everything and filled it horizontally and vertically.

public override void ViewDidLoad(){
	bgView.BackgroundColor = UIColor.FromPatternImage (UIImage.FromBundle("bg_app_pattern.png"));	
}

Leave a comment