日常收录

iOS仿脉脉tabbar

2022-07-27  本文已影响0人  海是天空蓝
Simulator Screen Shot - iPhone 13 Pro - 2022-07-27 at 10.14.56.png

//
// TabbarViewController.m
// TabbarDemo
//
// Created by Chocolate on 2022/7/27.
//

import "TabbarViewController.h"

import "MainViewController.h"

import "FindViewController.h"

import "StudyViewController.h"

import "MineViewController.h"

define RCColorWithValue(v) [UIColor colorWithRed:(((v) >> 16) & 0xff)/255.0f green:(((v) >> 8) & 0xff)/255.0f blue:((v) & 0xff)/255.0f alpha:1]

define kColorTitle RCColorWithValue(0x333333) // App字体颜色

define kColorTitleHighlight RCColorWithValue(0xFF5C00)

@interface TabbarViewController ()

@end

@implementation TabbarViewController

/// 设置tab基本信息
/// @param vc controller
/// @param title 标题
/// @param normalImage 默认图
/// @param selectImage 选中图
/// @param normalColor 默认字体颜色
/// @param selectColor 选中字体颜色

@end

上一篇下一篇

猜你喜欢

热点阅读