Method for efficiently realizing view fillet in iOS
Patent Information
- Authority / Receiving Office
- CN ยท China
- Current Assignee / Owner
- UNICLOUD (NANJING) DIGITAL TECH CO LTD
- Publication Date
- 2022-03-08
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The present invention relates to the technical field of view processing, in particular to a method for efficiently realizing view rounded corners in iOS. Background technique
[0002] With the advent of the mobile Internet era, the importance of product user experience has been paid more and more attention, and rounded corners have been widely used in hardware and software design. This is because it is easier for human eyes to process rounded corners. Rounded corners have strong visual guidance and can more prominently highlight the content information in the view or card. At the same time, the design of rounded corners is also more secure and intimate, making products and graphics look more non-aggressive, and can bring a better user experience.
[0003] The way to add rounded corners to the control is to set the cornerRadius property to the layer of the view, for example, set it to:
[0004] self.view.layer.cornerRadius=10.0;
[0005] self.view.la...