iperalta

iperalta
- Name: [not set]
- Favorite Languages: [not set]
- Website: [not set]
- Location: [not set]
- About Me: [not set]
-
iPhone Tutorial - How to Create a Blue Navigation Button
12/01/2009 - 14:03
Hi,
First of all, thanks for share your code.
I developed similar solution, but I have a problem, when i use this solution in a button added to any UIView, it runs perfectly. But, if I add it to a bar button (f.s. right bar button)
UIBarButtonItem *button = [[UIBarButtonItem alloc] initWithCustomView:blueSaveButton];
the button doesn't resize automatically, it maintains the initialization frame (CGRect) size.
I have the same problem, even in when adding to UIView, if I create the blueSaveButton with buttonWithType:UIButtonTypeCustom
Any idea to solve the problem ¿?
Thanks a lot!
Ivan
Recent Comments