Since the introduction of Auto Layout in Xcode, resizing UITableViews or UIViews has changed from updating the frame to updating the constraint. With Auto Layout turned off, the way you would resize a UITableView would be to adjust its frame. CGRect tableFrame = self.tableView.frame; tableFrame.size.height = 200; self.tableView.frame = tableFrame; With Auto Layout turned on, […]
Whether your upgrading your apps to iOS 7 or building a new app, you may come across the following warning in your storyboard: Misplaced View Frame for “Label – Label” will be different at run time. The Solution To solve this, select the view/label in question and click Editor then mouse over Resolve Auto Layout […]
- October 10, 2013
#Blur, #Hacks, #iOS, ...
The Control Center, introduced in iOS 7, has a really cool blur effect when opened. Unfortunately, Apple didn’t give us access to use this blur effect in our UIViews. Luckily for us, there’s a few ways to achieve this blur effect. iOS-blur A really clever developer came up with a solution of copying the layer […]
In iOS 7, the status bar and navigation bar are now unified. The status bar is translucent which is suppose to merge seamlessly with the navigation bar. This works great for the most part until you try to present a view controller or use a modal segue in storyboards. [self presentViewController:myViewController animated:YES completion:nil]; Using these […]
With the announcement on iOS 7 and the growing trend towards flat UI, I decided to create a simple iOS control to create flat buttons. The control can be downloaded from Github and can be used in any iOS project. Using the control is as simple as it gets. Once you download the project, copy […]
My latest creation is an iOS control that displays a live camera feed embedded in a UIView. Its very similar to the front camera view that you see when using FaceTime, Skype or Tango. I’ve posted the code on Github so feel free to fork it, modify it and use it however you want. Source […]