Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
线上更新了readme文件
  • Loading branch information
zhufengyi01 committed Jul 6, 2015
1 parent 136c4b9 commit 1d54790
Showing 1 changed file with 11 additions and 23 deletions.
34 changes: 11 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,34 1,25 @@
## ZFYTabbarController
使用方法非常简单
#1.如何更换tabbar的选中和未选中图片
###1.如何更换tabbar的选中和未选中图片
点击进入CustomController.m
> NSArray *normalImageArray =[NSArray arrayWithObjects:@"feed_tab_butten_normal.png",@"movie_tab_butten_normal.png",@"me_tab_butten_normal.png",nil];
> NSArray *selectImageArray =[NSArray arrayWithObjects:@"feed_tab_butten_press.png",@"movie_tab_butten_press.png",@"me_tab_butten_press.png", nil];
替换成自己的两套图片

<<<<<<< HEAD
#2.如何更换tabar的标题
进入CustomController.m
> NSArray *titleArray =[NSArray arrayWithObjects:@"first",@"second",@"third", nil];
#3. 如何把几个标签页换成自己的页面
=======
==============
2.如何更换tabar的标题
###2.如何更换tabar的标题
进入CustomController.m
NSArray *titleArray =[NSArray arrayWithObjects:@"first",@"second",@"third", nil];
==============
3. 如何把几个标签页换成自己的页面
>>>>>>> b07a4b8b40f4730e695793a699cc2ef477d1acae
//进入CustomController.m
#import "FirstViewController.h"
//#import "SecondViewController.h"
//#import "ThirdViewController.h"
###3. 如何把几个标签页换成自己的页面
<//进入CustomController.m
<//#import "FirstViewController.h"
<//#import "SecondViewController.h"
<//#import "ThirdViewController.h"
变成自己的
NSArray *classNameArray =[NSArray arrayWithObjects:@"FirstViewController",@"SecondViewController",@"ThirdViewController", nil];
< NSArray *classNameArray =[NSArray arrayWithObjects:@"FirstViewController",@"SecondViewController",@"ThirdViewController", nil];
也变成自己的文件名
<<<<<<< HEAD


#4.其他修改导航条或标签栏的基本用法都放在了
>ZFYTabbar.h 头文件中
Expand All @@ -44,9 35,7 @@ NSArray *classNameArray =[NSArray arrayWithObjects:@"FirstViewController",@"Sec
>//#define Nav_back_icon [[UIImage imageNamed:@"back_Icon.png"]
>//#pragma mark ---Tabbar config
=======
===============
4.其他修改导航条或标签栏的基本用法都放在了
###4.其他修改导航条或标签栏的基本用法都放在了
ZFYTabbar.h 头文件中
//导航栏色调设置
//#define Nav_tintColor [UIColor colorWithRed:200.0/255.0 green:100.0/255.0 blue:100.0/255.0 alpha:1];
Expand All @@ -61,7 50,6 @@ ZFYTabbar.h 头文件中


//#pragma mark ---Tabbar config
>>>>>>> b07a4b8b40f4730e695793a699cc2ef477d1acae
//字体未选中颜色设置
>//#define Tab_TITLE_NORMAL_COLOR [UIColor colorWithRed:20/255.0 green:20/255.0 blue:120/255.0 alpha:1]
>//字体已选中颜色设置
Expand All @@ -72,13 60,13 @@ ZFYTabbar.h 头文件中
>///#define Tab_BAR__BACK_CLOLOR [UIColor blackColor];

#5. 默认自带右滑全屏返回,如果不需要此功能,BaseNavigationViewController.m 文件中
###5. 默认自带右滑全屏返回,如果不需要此功能,BaseNavigationViewController.m 文件中
>self.fd_fullscreenPopGestureRecognizer.enabled=YES; 设置成NO
>在RootViewController.m 文件中把 self.fd_interactivePopDisabled=NO; 设置成YES
>//需要隐藏某一个页面的导航条
>self.fd_prefersNavigationBarHidden=NO; 设置成YES
#6.未来会一直维护,大家可以加入学习千锋顶级讲师的游戏开发教程
###6.未来会一直维护,大家可以加入学习千锋顶级讲师的游戏开发教程
跟健哥诚哥虐菜iOS游戏群:148929061


0 comments on commit 1d54790

Please sign in to comment.