You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thanks for your work. I wanted to ask how could I achieve what is in the attached image below (WhatsApp input bar top stack for status reply). I also attached what I have achieved so far with below code.
Hi, thanks for your work. I wanted to ask how could I achieve what is in the attached image below (WhatsApp input bar top stack for status reply). I also attached what I have achieved so far with below code.
func configInputbarForReply(title: String?, subtitle: String?, image: UIImage?) {
let attributed = NSMutableAttributedString(string: title ?? "", attributes: [.font : UIFont.systemFont(ofSize: 13, weight: .semibold), .foregroundColor: UIColor(named: kblackOnWhiteColor)!])
let attributedTextMessage = NSMutableAttributedString(string: subtitle ?? "", attributes: [.font : UIFont.systemFont(ofSize: 12, weight: .regular), .foregroundColor: UIColor(named: kblackOnWhiteColor)!])
if self.traitCollection.userInterfaceStyle == .dark {
self.postSampleImageButton.backgroundColor = .systemGray5
self.postCaptionButtonLabel.backgroundColor = .systemGray5
self.replierNameButtonLabel.backgroundColor = .systemGray5
} else {
self.postSampleImageButton.backgroundColor = .systemGray2
self.postCaptionButtonLabel.backgroundColor = .systemGray2
self.replierNameButtonLabel.backgroundColor = .systemGray2
}
The text was updated successfully, but these errors were encountered: