UIToolbar translucent style and certain UIBarButtonSystemItems
I wanted to post this "question", which I will answer, to help others who may experience this issue. When using a UIToolbar which is translucent, the UIBarButtonSystemItemPageCurl icon does not appear. Setting barStyle to UIBarStyleBlackTranslucent or se开发者_如何学编程tting translucent to TRUE causes this. Adding a UIBarButtonItem with a system item of UIBarButtonSystemItemPageCurl will not appear.
The solution as of 4.2 is to set the UIToolbar's style BEFORE setting its items. Failure to do so will result in a blank button appearing.
精彩评论