On my 1) UIView
one (2) UIImageView
will be on this (3) UITextView
.
This UITextView
must be Transparent and we have to view the imageView
.
How can I do this?
An object that displays an editable text area in your interface.
A TextField is a type of control that shows an editable text interface. In SwiftUI, a TextField typically requires a placeholder text which acts similar to a hint, and a State variable that will accept the input from the user (which is usually a Text value).
If you only want to make the background (rather than the whole UITextView) transparent, I believe you should be do this via the backgroundColor property it inherits from UIView.
As such...
[yourTextView setBackgroundColor:[UIColor clearColor]];
...should hopefully do the trick.
If however, you want to make the whole UITextView transparent, the alpha property @taskinoor mentions is perfect.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With