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.
이렇게 쓰고 뒤에는 색상으로 해서 했다.
색상 자유롭게 하는거 찾아봐야지
'COMPUTER > swift' 카테고리의 다른 글
UiTableView에서 텍스트 양에 따라 크기 조절하기. (0) | 2016.09.21 |
---|---|
uitableview 기타등등 기능. (0) | 2016.09.20 |
swift 간단 animation 효과 (0) | 2016.08.10 |
API 호출시 UI 멈춤 해결 (1) | 2016.07.28 |
swift에서 web을 통해 json 받아오기 (1) | 2016.07.20 |