Replacement for deprecated sizeWithFont: in iOS 7?
In iOS 7, sizeWithFont: is now deprecated. How do I now pass in the UIFont object into the replacement method sizeWithAttributes:? 20 Answers 20
In iOS 7, sizeWithFont: is now deprecated. How do I now pass in the UIFont object into the replacement method sizeWithAttributes:? 20 Answers 20
I noticed that when I place a white or black UIImage into a UISegmentedControl it automatically color masks it to match the tint of the segmented control. I thought this was really cool, and was wondering if I could do this elsewhere as well. For example, I have a bunch of buttons that have a … Read more
Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed last year. Improve this question I’m an iOS developer with some experience and this question is really interesting to me. I saw … Read more
In iOS 7 Apple added a new default navigation behavior. You can swipe from the left edge of the screen to go back on the navigation stack. But in my app, this behavior conflicts with my custom left menu. So, is it possible to disable this new gesture in UINavigationController? 18 Answers 18
I 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. In viewDidLayoutSubviews, I print the view’s bounds: {{0, 0}, {320, 568}} This results in my content appearing … Read more
I am playing around with some of the new iOS 7 features and working with some of the Image Effects as discussed in the WWDC video “Implementing Engaging UI on iOS”. For producing a blur effect within the source code for the session, UIImage was extended via a category which imports UIKit like so: @import … Read more
Starting in iOS7, there is additional space at the top of my UITableView‘s which have a style UITableViewStyleGrouped. Here is an example: The tableview starts at the first arrow, there are 35 pixels of unexplained padding, then the green header is a UIView returned by viewForHeaderInSection (where the section is 0). Can anyone explain where … Read more
My application has a dark background, but in iOS 7 the status bar became transparent. So I can’t see anything there, only the green battery indicator in the corner. How can I change the status bar text color to white like it is on the home screen? 59 s 59