Create a UINavigationBar Category with a custom sizeThatFits.
@implementation UINavigationBar (customNav)
- (CGSize)sizeThatFits:(CGSize)size {
CGSize newSize = CGSizeMake(self.frame.size.width,70);
return newSize;
}
@end
Related Contents:
- Tab bar controller inside a navigation controller, or sharing a navigation root view
- iOS 7 Navigation Bar text and arrow color
- UINavigationBar’s drawRect is not called in iOS 5.0
- How to add a right button to a UINavigationController?
- How to set the text of a back button on a UINavigationBar? [duplicate]
- How to subclass UINavigationBar for a UINavigationController programmatically?
- Objective-C categories in static library
- How to detect total available/free disk space on the iPhone/iPad device?
- Convert HTML to NSAttributedString in iOS
- How can I animate the movement of a view or image along a curved path?
- How to hide uitabbarcontroller
- Display clearColor UIViewController over UIViewController
- Custom UINavigationBar Background
- Location Manager Error : (KCLErrorDomain error 0)
- iPhone reachability checking
- Easiest way to support multiple orientations? How do I load a custom NIB when the application is in Landscape?
- iPhone image stretching (skew)
- UIImagePickerController camera preview is portrait in landscape app
- How to do animations using images efficiently in iOS
- Landscape Mode ONLY for iPhone or iPad
- Consume WCF Web Service using Objective-C on iPhone
- iTunes Connect API [closed]
- Do you need to create an NSAutoreleasePool within a block in GCD?
- Adjusting the volume of a playing AVPlayer
- Customizing UIAlertView
- Interaction beyond bounds of UIView
- Draw part of a circle
- How to check if a font is available in version of iOS?
- Changing the userAgent of NSURLConnection
- UITextField with secure entry, always getting cleared before editing
- Tab Bar Application With Navigation Controller
- shouldAutorotateToInterfaceOrientation doesn’t work
- Reading audio samples via AVAssetReader
- Where’s the best SQLite 3 tutorial for iPhone-SDK? [closed]
- Setting the iPhone keyboard language
- Can’t find keyplane that supports type 4 for keyboard iPhone-Portrait-NumberPad; using 3876877096_Portrait_iPhone-Simple-Pad_Default
- Removing a view controller from UIPageViewController
- Increment the Push notification Badge iPhone
- What’s the difference between “bundle display name” and “bundle name” in cocoa application’s info plist
- Missing symbol names when profiling IPhone application with Instruments
- set background image for entire iPhone / iPad app
- How to add a footer to the UITableView?
- How to combine video clips with different orientation using AVFoundation
- Why the CLLocationManager delegate is not getting called in iPhone SDK 4.0?
- What happens if I don’t retain IBOutlet?
- Xcode Error Message: “could not inspect application package”
- how to fix the issue “Command /bin/sh failed with exit code 1” in iphone
- List saved files in iOS documents directory in a UITableView?
- Drop Shadow on UITextField text
- Core Data’s NSPrivateQueueConcurrencyType and sharing objects between threads