【发布时间】:2014-04-24 13:20:05
【问题描述】:
我正在尝试在 UIView 周围绘制边框,但在边框周围不断出现一条细黑线。
我想知道是否可以从边框上移除那条细黑线……请看图片。
this.rssNumberView = new UIView ();
this.rssNumberView.Layer.CornerRadius = 15;
this.rssNumberView.Frame = new RectangleF (66.5f, 0, rssViewHeightAndWidth, rssViewHeightAndWidth);
this.rssNumberView.BackgroundColor = UIColor.FromRGB(35, 44, 119);
this.rssNumberView.Layer.BorderColor = UIColor.White.CGColor;
this.rssNumberView.Layer.BorderWidth = 2.0f;
【问题讨论】:
标签: c# ios uiview xamarin.ios xamarin