Magic Studio

专心做有逼格的APP!

2013年11月29日 #

Creating Custom UITableViewCells with NIB files

摘要: Maksim Pecherskiy13 November 2012Well this sucks. Apparently these days you can only use the Interface Builder to design your cell in XCode if you're using Storyboards. But no worries. I have found a workaround which plays very nicely in iOS5+. Let's get to it!I'm assuming you already kn 阅读全文

posted @ 2013-11-29 21:51 Mr 布鲁斯 阅读(396) 评论(0) 推荐(0) 编辑

Status bar and navigation bar appear over my view's bounds in iOS 7

摘要: 186down votefavorite122I recently downloaded Xcode 5 DP to test my apps in iOS 7. The first thing I noticed and confirmed is that my view's bounds is not always resized to account for the status bar and navigation bar.InviewDidLayoutSubviews, I print the view's bounds:{{0, 0}, {320, 568}}Thi 阅读全文

posted @ 2013-11-29 14:55 Mr 布鲁斯 阅读(5239) 评论(0) 推荐(0) 编辑

ios7 - Custom UItabbar has a gap in the bottom

摘要: 3down votefavoriteIm trying to create a custom UITabbar using images for the selected and unselected states.this is my code:if([UIImage instancesRespondToSelector:@selector(imageWithRenderingMode:)]){ tab_01_on_image =[[UIImage imageNamed:@"Tabbar_on_01"] imageWithRenderingMode:UIImageRend 阅读全文

posted @ 2013-11-29 13:07 Mr 布鲁斯 阅读(473) 评论(0) 推荐(0) 编辑

导航