iOS 导航栏 CLAdvanceNavigationController

码农软件 · 软件分类 · 导航条(Navigation Bar) · 2019-06-11 14:57:28

软件介绍

CLAdvanceNavigationController 是页面切换时,拥有前进效果的导航栏。

image

使用方法:

在 AppDelegate.h 中声明全局导航栏
@class CLAdvanceNavigationController;
/**  全局导航栏 */
@property (strong, nonatomic) CLAdvanceNavigationController *navController;
在 AppDelegate.m 中初始化全局导航栏
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
    // 创建屏幕窗口视图
    self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
    self.window.backgroundColor = [UIColor whiteColor];
    // 创建并设置全局导航栏为window的根视图
    self.navController = [[CLAdvanceNavigationController alloc] init];
    self.window.rootViewController = self.navController;
    // 设置导航栏首页
    FirstViewController *firstVC = [[FirstViewController alloc] init];
    [self.navController pushViewController:firstVC animated:YES];
    return YES;
}
在做页面切换时,使用正常使用导航栏代码
ThridViewController *thridVC = [[ThridViewController alloc] init];
[self.navigationController pushViewController:thridVC animated:YES];
[self.navigationController popViewControllerAnimated:YES];
[self.navigationController popToRootViewControllerAnimated:YES];

本文地址:https://codercto.com/soft/d/7744.html

UNIX网络编程 卷2

UNIX网络编程 卷2

W.Richard Stevens / 人民邮电出版社 / 2009-11 / 89.00元

《UNIX网络编程 卷2:进程间通信(英文版·第2版)》是一部UNIX网络编程的经典之作。进程间通信(IPC)几乎是所有Unix程序性能的关键,理解IPC也是理解如何开发不同主机间网络应用程序的必要条件。《UNIX网络编程 卷2:进程间通信(英文版·第2版)》从对Posix IPC和System V IPC的内部结构开始讨论,全面深入地介绍了4种IPC形式:消息传递(管道、FIFO、消息队列)、同......一起来看看 《UNIX网络编程 卷2》 这本书的介绍吧!

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具