Search
 
SCRIPT & CODE EXAMPLE
 

SWIFT

swift corner radious of view controller

extension UIView {
    func makeCorner(withRadius radius: CGFloat) {
        self.layer.cornerRadius = radius
        self.layer.masksToBounds = true
        self.layer.isOpaque = false
    }
}
Comment

PREVIOUS NEXT
Code Example
Swift :: swift navigation bar title font 
Swift :: swiftui navigationview ignore top space 
Swift :: swift uibutton programmatically set ontap function 
Swift :: swiftui pintch to zoom 
Swift :: disable dark mode swift 
Swift :: swiftui button style 
Swift :: alamofire failure response body 
Swift :: how to play a video in swift 
Swift :: swift dispatch after 
Swift :: hide bottom tab bar swift 
Swift :: replace character in swift 
Swift :: swiftui pull to refresh 
Swift :: swift webview load html 
Swift :: swift scrollview scroll to bottom 
Swift :: swift reload tableviewcell at index 
Swift :: swift hex color 
Swift :: Swift Swift continue statement with nested loops 
Swift :: change placeholder color swift 
Swift :: imageliteral swiftui 
Swift :: objective c vs swift 
Swift :: Swift Switch Statement with Range 
Swift :: hstack spacing swiftui 
Swift :: make text autoresize swiftui 
Swift :: swiftui rounded specific corner 
Swift :: Swift Expressions 
Swift :: move view controller to make space for keyboard swift 5 
Swift :: free robux codes 
Swift :: SwiftUI cant tap in spacer of HStack 
Swift :: special symbol ios swift 
Swift :: uilabel without constraint 
ADD CONTENT
Topic
Content
Source link
Name
7+3 =