Post

Replies

Boosts

Views

Activity

Reply to iOS 17 UIImageView tintColor issue
Below code I am using from which I am getting issue Opening UIColorPickerViewController code, let colorPicker = UIColorPickerViewController() colorPicker.delegate = self colorPicker.dismissDelegate = self colorPicker.view.tag = viewTag colorPicker.selectedColor = selectedColor ?? .black colorPicker.supportsAlpha = false self.delegate = presentController as? OBColorPickerDelegate colorPicker.modalPresentationStyle = .formSheet presentController.present(colorPicker, animated: true, completion: nil) On dismiss applying color to imageview with below code, let imageView = StickerImageView() // StickerImageView is custom imageview imageView.tintColor = color then try to get tintColor by below code in StickerImageView class, if let color = self.tintColor { //Color I got here is gray only for iOS 17 }
Nov ’23