Latest Asked Questions

Explore the latest questions and answers asked top developers.

iOS 7 : Disable UINavigationBar Translucency For Entire App

Is there a way to disable UINavigationBar Translucency for an entire application? I’m aware that using [self.navigationController.navigationBar setTranslucent:NO] can fix this issue for a single controller, but I have a lot of UINavigationBars in my application and this is a pretty tedious solution. I’ve tried [[UINavigationBar appearance] setTranslucent:NO], but that functionality is surprisingly not supported. […]

By MikeS
Categorised as ios, ios7, uinavigationbar

Why is there extra padding at the top of my UITableView with style UITableViewStyleGrouped in iOS7

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 is 35 pixels of unexplained padding, then the green header is a UIView returned by viewForHeaderInSection (where the section is 0). Can anyone explain where […]

By esilver
Categorised as ios, ios7, uitableview Tagged , ,

Button in UITableViewCell not responding under ios 7

I have one tableview and each cell contains one button. It’s working pretty well all iOS versions but 7. I don’t know what’s going on. The cell is constructed in one xib file. Could anyone give me some suggestions? Thanks in advance. Source: Ios7 Questions

By Xavier
Categorised as ios, ios7, uibutton, uitableview Tagged , , ,

Calculating number of lines of dynamic UILabel (iOS7)

There are many solutions to this questions arround but couldn’t find non-deprecated one. I have an UILabel with mode WordWrap and fixed width of, let’s say 250. Lines are set to 0. Here is what I tried: UILabel *contentLabel = (UILabel*)[contentView viewWithTag:10]; CGSize size = [contentLabel.text sizeWithFont:contentLabel.font forWidth:contentLabel.frame.size.width lineBreakMode:NSLineBreakByWordWrapping]; NSLog(@”Label’s height is: %d”, size.height); The […]

By Jacek Kwiecie
Categorised as ios, ios7, uilabel Tagged , ,

UIAlertView addSubview in iOS7

Adding some controls to UIAlertView was deprecated in iOS7 using addSubview method. As I know Apple promised to add contentView property. iOS 7 is released now and I see that this property is not added. That is why I search for some custom solution with ability to add progress bar to this alertView. Something for […]

By B S
Categorised as ios, ios7, objective-c, uialertview Tagged , , ,
1 648 649 650 651 652 653

Still Have Questions?

Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us