I am new to Xamarin iOS development, and wanted to set background as an image of my view.
Is there any way to set background image directly to view?
Alternate solution to that is add ImageView control and set image property but in that case how to set height & width of the ImageView control programatically from ViewController.CS file?
In iOS there are two ways of defining the size of a control: AutoLayout or Springs & Struts. If you are using Auto Layout in your app (which you really should be), the size of the control can be defined by placing layout constraints on the control using Interface Builder, the Xamarin Studio designer, or programatically.
For Auto Layout:
myImageView.Frame = new RectangleF(x-coordinate, y-coordinate, width, height);