views:

258

answers:

1

I have been trying to have a UIBarButtonSystemItem in my toolbar and it always defaults to the standard blue. If I create it with an image or title it works fine with the correct color, try it with UIBarButtonSystemItem and it goes to the default color and nothing I have found on the internet works.

heres the code:

UIBarButtonItem *overlays = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemPageCurl target:self action:@selector(overlays)];
A: 

Had to create my own button. Seems to be a bit of a bug that initWithBarButtonSystemItem default back to the standard colour. Few people have requested to Apple to fix it but no luck so far.

Rudiger