开发者

Create Custom UIView [closed]

开发者 https://www.devze.com 2023-03-28 04:33 出处:网络
开发者_运维知识库 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current for
开发者_运维知识库 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

In my App inside a view there are 4 UIView with circular corner each in four corners of the view. inside each view there are three labels with different title. can any one tell me how can I Customize my Own View?


You can have rounded corners by accessing the layers property of the view.

[view.layer setCornerRadius:5.0];
[view.layer setMasksToBounds:YES];


Having no idea what you're asking whatsoever, I'd recommend you check out this page in Apple's docs.

0

精彩评论

暂无评论...
验证码 换一张
取 消