I'm just starting out on my journey, but please don't swear too much. Can you please tell me how to set the desired background color for Custom View, the color I need is #F8F7F7.
How to set the background color in the safari app extension
Could you show the code ?
If your view is a UIView, (I call it theView):
let hex = 0xF8F7F7 // The hexadecimal value
let r = CGFloat((hex >> 16) & 0xff) / 255 // Extract F8
let g = CGFloat((hex >> 08) & 0xff) / 255 // Extract F7
let b = CGFloat((hex >> 00) & 0xff) / 255 // Extract F7
let color = UIColor(red: r, green: g, blue: b, alpha: 1)
theView.backgroundColor = color