Latest 0.2
Homepage https://github.com/lemonlabs/UINavigationItem-iOS7Spacing
License MIT
Platforms ios 6.0, requires ARC
Authors

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.

Latest podspec

{
    "name": "UINavigationItem-iOS7Spacing",
    "version": "0.2",
    "summary": "Category to fix iOS 7 UINavigationItem spacing.",
    "homepage": "https://github.com/lemonlabs/UINavigationItem-iOS7Spacing",
    "screenshots": [
        "https://raw2.github.com/lemonlabs/UINavigationItem-iOS7Spacing/master/ios6-default.png",
        "https://raw2.github.com/lemonlabs/UINavigationItem-iOS7Spacing/master/ios7-default.png"
    ],
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Marius Kau017eemu0117kaitis": "[email protected]"
    },
    "platforms": {
        "ios": "6.0"
    },
    "source": {
        "git": "https://github.com/lemonlabs/UINavigationItem-iOS7Spacing.git",
        "tag": "0.2"
    },
    "source_files": "UINavigationItem+iOS7Spacing.{m,h}",
    "requires_arc": true
}

Pin It on Pinterest

Share This