Reputation: 501
I was testing Microphone Analysis example provided in audiokit repo. I have noticed that the plot drawing waveform out of its view. is there any solution to fix this ?
Upvotes: 2
Views: 158
Reputation: 4573
Its just a UIView right, so you should be able clipToBounds:
https://developer.apple.com/documentation/uikit/uiview/1622415-clipstobounds
Upvotes: 1