xamarin.ios - Modify the Frame of UIButton -
I am trying to resize a UIButton referenced from the xib file.
This is what I have tried without success:
RectangleF frames = actionBtn.Frame; Frame With = 140; Action btn.fr = frames;
What am I doing?
You can not modify an existing RectangleF instead try it
RectangleF frame = actionBtn.Frame; Action BTN.frame = new rectangle (frame.x, frameY, 140, frame.height);
Comments
Post a Comment