Schneller Navigationsleiste Bildtitel

Begann ich die Programmierung in Swift ein paar Wochen. Jetzt will ich meine Apps anpassen Aussehen. Ich möchte an einem Logo-Bild als Navigation Bar Titel statt einer Klartext.

let logo = UIImage(named: "logo.png")
self.navigationItem.titleView = logo;

Bekomme ich die Fehlermeldung "UIImage is not convertible to UIView"

Habe ich gegoogelt viel. Aber no way 🙁

InformationsquelleAutor der Frage Darx | 2014-07-17

Schreibe einen Kommentar