My plan is to render a custom waveform inside an UIScrollView
(to allow user to pan and scroll through the waveform). But additionally I want to render additional non-zoomed information on top of the waveform (like play position marker, time, ...)
So I have a static UIImage
that is the pre-rendered waveform, and some small bits that i have to render on top of it dynamically (I don't want the position marker or text to bee zoomed on the waveform).
I have read that UIImageView
is the most efficient way to render a simple image (Most efficient way to draw part of an image in iOS), but that is not sufficient for me because i have to render something on top of it. Or is this somehow possible?
I dont see a way to use the UIScrollView
for now, because it zooms everything inside right? But as mentioned, I need only the image zoomed, but the additional data non-zoomed.
Can I implement this using UIScrollView
? Or do I have to implement a custom view that takes care of zooming and panning by itself?