ios - How can I draw multiple instances of a UIView without using CAReplicatorLayer? -
i have uiview, , want make multiple replicas of can position on different points of screen. want able apply different masks/transforms each of replicas each 1 can potentially show different portion of original.
for example, let's that have view, a
, , make 2 replicas of it, b
, , c
. want apply mask b
shows top half of a
, want apply different mask c
shows bottom half of a
.
how go doing this?
careplicatorlayer isn't usable i'm trying in application replicas need in different parts of view hierarchy. also, can't use method makes use of snapshotting original view may contain animated content or video. want sort of view can mirror contents of view have 2 views same.
Comments
Post a Comment