신속하게 서클 사진을 만들려면 어떻게해야합니까?
내 ViewController :
import UIKit
import Foundation
class FriendsViewController : UIViewController{
@IBOutlet weak var profilPicture: UIImageView!
override func viewDidLoad() {
super.viewDidLoad()
profilPicture = UIImageView(frame: CGRectMake(0, 0, 100, 100))
}
}
내 profilPicture = UIImageView(frame: CGRectMake(0, 0, 100, 100))
..
예 : http://www.appcoda.com/ios-programming-circular-image-calayer/