mirror of
https://github.com/purplecabbage/phonegap-plugins.git
synced 2026-04-24 03:00:11 -04:00
42 lines
1.6 KiB
Objective-C
42 lines
1.6 KiB
Objective-C
#import <Foundation/Foundation.h>
|
|
#import <UIKit/UIKit.h>
|
|
#import <UIKit/UINavigationBar.h>
|
|
|
|
// For older versions of Cordova, you may have to use: #import "CDVPlugin.h"
|
|
#import <Cordova/CDVPlugin.h>
|
|
|
|
#import "CDVNavigationBarController.h"
|
|
|
|
@interface NavigationBar : CDVPlugin <CDVNavigationBarDelegate> {
|
|
UINavigationBar * navBar;
|
|
|
|
CGRect originalWebViewBounds;
|
|
CGFloat navBarHeight;
|
|
CGFloat tabBarHeight;
|
|
|
|
CDVNavigationBarController * navBarController;
|
|
}
|
|
|
|
@property (nonatomic, retain) CDVNavigationBarController *navBarController;
|
|
|
|
- (void)create:(NSArray*)arguments withDict:(NSDictionary*)options;
|
|
- (void)setTitle:(NSMutableArray *)arguments withDict:(NSMutableDictionary *)options;
|
|
- (void)setLogo:(NSMutableArray *)arguments withDict:(NSMutableDictionary *)options;
|
|
- (void)show:(NSArray*)arguments withDict:(NSDictionary*)options;
|
|
- (void)hide:(NSArray*)arguments withDict:(NSDictionary*)options;
|
|
- (void)init:(NSArray*)arguments withDict:(NSDictionary*)options;
|
|
- (void)setupLeftButton:(NSArray*)arguments withDict:(NSDictionary*)options;
|
|
- (void)setupRightButton:(NSArray*)arguments withDict:(NSDictionary*)options;
|
|
- (void)leftButtonTapped;
|
|
- (void)rightButtonTapped;
|
|
|
|
- (void)hideLeftButton:(NSArray*)arguments withDict:(NSDictionary*)options;
|
|
- (void)showRightButton:(NSArray*)arguments withDict:(NSDictionary*)options;
|
|
- (void)hideLeftButton:(NSArray*)arguments withDict:(NSDictionary*)options;
|
|
- (void)showRightButton:(NSArray*)arguments withDict:(NSDictionary*)options;
|
|
|
|
@end
|
|
|
|
@interface UITabBar (NavBarCompat)
|
|
@property (nonatomic) bool tabBarAtBottom;
|
|
@end |