I have many views in a ViewController. I want to display these views base on the width of each view and maximum width of each view equal to width of device. Anyone has solution for this one?
if you are using XIB files with xcode is possible,here is a video.
You can get Dimensions of Device using UIScreen.MainScreen.Bounds
e.g. someView = new UIView(new CGRect(0,0,UIScreen.MainScreen.Bounds.Width,UIScreen.MainScreen.Bounds.Height));
I can add more same xib file to view. How to handle event for views in those xib file?
@YenNguyen.6806 you can use Gestures, here's an example https://developer.xamarin.com/recipes/ios/input/touch/tap-gesture/
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies