I am using iOS 5 SDK in a project which has iOS 4.0 as target and I’ve noticed that if I subclass the UINavigationBar class to override the drawRect: method it gets called, but this doesn’t happen when creating a category from UINavigationBar class.
Does anybody knows why is this happening? I should have misunderstood categories or something, because this behavior has no sense to me.
Edit: I’m running the application on iOS 5.
iOS 5.0 SDK Release Notes, UIKit: