swift tab

2016. 9. 19. 14:49

AppDelegate.swift.

이거에서



func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
        // Override point for customization after application launch.

        UITabBar.appearance().translucent = false
        UITabBar.appearance().barTintColor = UIColor(rgba: "#12296f")
        UITabBar.appearance().tintColor = UIColor.whiteColor()

        return true
}

이로코롬.


UIColor(rgba: "#12296f")

이거는 안된다.


UIColor.

이렇게 쓰고 뒤에는 색상으로 해서 했다.


색상 자유롭게 하는거 찾아봐야지

+ Recent posts