nfarina / calloutview

A lightweight callout view class for iOS mimicking UICalloutView.
http://nfarina.com/post/78014139253/smcalloutview-for-ios-7
Apache License 2.0
1.2k stars 189 forks source link

sizeToFit doesn't work #77

Open tlextrait opened 9 years ago

tlextrait commented 9 years ago

In my project, I dynamically change what's in the contentView, causing it to change size and part of it being clipped because it is bigger than the original size of the callout. I tried using sizeToFit on the callout but the positioning gets screwed up. Maybe sizeToFit should be overridden?