2015-11-12から1日間の記事一覧
StoryBoardでEmbed inで追加したViewControllerにModalViewで開いて値を渡す方法FirstViewController ↓ NavigationController(SecondViewControllerにEmbed inで追加したもの) ↓ SecondViewController let modalView = storyboard!.instantiateViewControlle…
選択後の色に関しては別の方法もあるが、選択前の色も変える方法 let font:UIFont! = UIFont(name:"HiraKakuProN-W3",size:10) let selectedAttributes = [NSFontAttributeName : font, NSForegroundColorAttributeName : UIColor.whiteColor()] UITabBarIte…