UINavigationItem-iOS7Spacing 0.2

UINavigationItem-iOS7Spacing 0.2

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by Unclaimed.




  • By
  • Marius Kažemėkaitis

Category to fix iOS 7 UINavigationItem spacing.

leftBarButtonItem position on iOS 5/6

iOS 6 default

leftBarButtonItem position on iOS 7

iOS 7 default

Fixed leftBarButtonItem position on iOS 7

iOS 7 fixed

You do not have to do anything else, except include this category in your *-Prefix.pch file:

#ifdef __OBJC__
    #import <UIKit/UIKit.h>
    #import <Foundation/Foundation.h>
    #import "UINavigationItem+iOS7Spacing.h"
#endif

Fully tested on iOS 6/7.