ios - Trying to place a UIView over top of a UIImageView to highlight a section of UIImage -
i building app displays text book on screen. text of page auiimage
, , contained inside of auiimageview
on screen. highlight each line of page, using auiiview
placed on top each line. here similar trying achieve, except in uiimage
, have multiple lines highlighted, whereas in case, plan highlight 1 line @ time:
each line covered auiview
of same dimensions line, want thisuiview
transparent, , colour yellow, red, or blue, not clear. opacity, , alpha values use achieve effect similar uiimage
?
thanks in advance reply.
set backgroundcolor of uiview desired color. set alpha of uiview 0.5
however, effect somehow different picture posted uiview on top , text color affected.
Comments
Post a Comment