Wie man ein Bild im Kreis in swift einstellt

Wie kann ich machen, ich Kreis Bild mit swift ?

Meiner 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))
    }
}

Meine profilPicture = UIImageView(frame: CGRectMake(0, 0, 100, 100)) nichts zu tun ..

Exemple: http://www.appcoda.com/ios-programming-circular-image-calayer/

InformationsquelleAutor der Frage Pixel | 2015-01-21

Schreibe einen Kommentar