UINavigationItem-iOS7Spacing 0.2

UINavigationItem-iOS7Spacing 0.2

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

Maintained by Unclaimed.


Downloads

Total11,067
Week0
Month0

Installs

Apps72
Test Targets9
powered by Segment

GitHub

Stars107
Watchers8
Forks24
Issues2
Contributors2
Pull Requests2

Code

Files2
LOCLines of Code 77



  • 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.