I've set a background image with rounded corners for my UINavigationBar and UITabBar, however during rotation, the backgrondimage repeats instead of stretches. Is there a way to stretch so the corners stay rounded?
Thanks!
for ios5.0+
use [UIImage imageNamed:nil] resizableImageWithCapInsets]
instead.
Found it, it's [UIImage imageNamed:nil] stretchableImage...]
etc.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With