Cards
Cards copied to clipboard
CardHighlight itemSubtitle not loading immediately
CardHighlight set value subTitle is not immediately loading. when switching one view to another view its loading.
let titleValue: String
let subTitleValue:String
override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)
self.cardSubTitle()
}
fileprivate func cardSubTitle(){
cardHighlight.title = "Title: \(titleValue!)"
cardHighlight.itemSubtitle = "subTitleValue: \(subTitleValue!)"
cardHighlight.reloadInputViews()
}
@IBAction func setSubTitleValue(_ sender: Any) {
title = "This is Title"
subTitleValue = "This is subTitle"
self.cardSubTitle()
}
Your inputs really useful please let me know!
Could you provide an example project ?