Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

custom screen presentation controller coner radius swift

//Add these lines in your viewcontroller which you want to present
view.layer.cornerRadius = 15.0 // any radius value
view.layer.maskedCorners = [.layerMinXMinYCorner, .layerMaxXMinYCorner]
 
PREVIOUS NEXT
Tagged: #custom #screen #presentation #controller #coner #radius #swift
ADD COMMENT
Topic
Name
7+9 =