All Questions
            2,979
            questions
        
        
            343
            votes
        
        
            22
            answers
        
        
            239k
            views
        
    Color Tint UIButton Image
                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 ...
            
        
       
    
            236
            votes
        
        
            11
            answers
        
        
            176k
            views
        
    iOS 7 Navigation Bar text and arrow color
                I want to set background for Navigation Bar to be black and all colors inside it to be white.
So, I used this code :
[[UINavigationBar appearance] setTitleTextAttributes:
     [NSDictionary ...
            
        
       
    
            217
            votes
        
        
            27
            answers
        
        
            176k
            views
        
    How do I hide the status bar in a Swift iOS app?
                I'd like to remove the status bar at the top of the screen.
This does not work:
func application
(application: UIApplication,
didFinishLaunchingWithOptions launchOptions: NSDictionary?)
-> Bool
{
...
            
        
       
    
            214
            votes
        
        
            2
            answers
        
        
            108k
            views
        
    How to fix UITableView separator on iOS 7? [duplicate]
                UITableView draws with ragged lines on iOS 7:
How to fix it? The line between cells should be on the full width of the screen.
            
        
       
    
            207
            votes
        
        
            16
            answers
        
        
            161k
            views
        
    'Missing recommended icon file - The bundle does not contain an app icon for iPhone / iPod Touch of exactly '120x120' pixels, in .png format'
                I submitted an app update, but I have received an email telling me this error has occurred:
  Missing recommended icon file - The bundle does not contain an app icon for iPhone / iPod Touch of ...
            
        
       
    
            196
            votes
        
        
            19
            answers
        
        
            151k
            views
        
    Warning :-Presenting view controllers on detached view controllers is discouraged
                In my app, I am using a navigation controller. Later on in some view I am using presentViewController for showing a zoomed image.
Also I am not using a Storyboard or nib. 
I am getting this error in ...
            
        
       
    
            159
            votes
        
        
            12
            answers
        
        
            96k
            views
        
    ITunes review URL and iOS 7 (ask user to rate our app) AppStore show a blank page
                Does anybody knows if the technique used to ask the user to rate our app and open for him the App Store directly on the rating page is still working on iOS 7 ?
I used to open this url from my app :
...
            
        
       
    
            147
            votes
        
        
            8
            answers
        
        
            74k
            views
        
    Replacement for deprecated -sizeWithFont:constrainedToSize:lineBreakMode: in iOS 7?
                In iOS 7, the method:
- (CGSize)sizeWithFont:(UIFont *)font
     constrainedToSize:(CGSize)size
         lineBreakMode:(NSLineBreakMode)lineBreakMode 
and the method:
- (CGSize)sizeWithFont:(UIFont ...
            
        
       
    
            129
            votes
        
        
            20
            answers
        
        
            96k
            views
        
    Imitate Facebook hide/show expanding/contracting Navigation Bar
                In the new iOS7 Facebook iPhone app, when the user scrolls up the navigationBar gradually hides itself to a point where it completely vanishes. Then when the user scrolls down the navigationBar ...
            
        
       
    
            127
            votes
        
        
            16
            answers
        
        
            104k
            views
        
    iOS – Run/Debug/Install builds over Wi-Fi
                We have iPad and iPhone devices, but short of wires. Is there any way that we can install/debug the builds over Wi-Fi in iOS? 
I know the way in Android, but not of iOS.
            
        
       
    
            117
            votes
        
        
            31
            answers
        
        
            80k
            views
        
    Not able to type in textfield in iphone simulator using Mac Keyboard?
                I'm working on a basic iOS app which supports both portrait and landscape modes. When the iPhone simulator keyboard is open in landscape and I'm switching the app to portrait mode I'm unable to type ...
            
        
       
    
            114
            votes
        
        
            9
            answers
        
        
            74k
            views
        
    Navigation bar appear over the views with new iOS7 SDK
                CGRect cgRect1 = [[UIScreen mainScreen] applicationFrame];
UISearchBar  *mySearchBar = [[UISearchBar alloc] 
               initWithFrame:CGRectMake(0, 0, cgRect.size.width, 40)];
mySearchBar....
            
        
       
    
            111
            votes
        
        
            19
            answers
        
        
            85k
            views
        
    UIStatusBarStyle PreferredStatusBarStyle does not work on iOS 7
                In my iPhone application built with Xcode 5 for iOS 7 I set UIViewControllerBasedStatusBarAppearance=YES in info.plist, and in my ViewController I have this code:
-(UIStatusBarStyle) ...
            
        
       
    
            111
            votes
        
        
            7
            answers
        
        
            84k
            views
        
    Analysing Assets.car file in iOS
                I have trying to reduce the overall size of my iOS application which is currently 48MB. When I analyze sub folders, I found Assets.car is taking 41MB. I am not able to open and see which one is taking ...
            
        
       
    
            103
            votes
        
        
            16
            answers
        
        
            68k
            views
        
    UIImagePickerController error: Snapshotting a view that has not been rendered results in an empty snapshot in iOS 7
                I am getting this error only in iOS 7 and the application crashed. 
In iOS 6, I never get any error, just once of memory warning when opening the camera.
Snapshotting a view that has not been ...
            
        
       
    
            93
            votes
        
        
            12
            answers
        
        
            73k
            views
        
    iOS7 UISwitch its Event ValueChanged: Calling continuously is this Bug or what..?
                Edit
It's now fixed on ios7.1
Don't do any tweak to fix it.
Edit2
Apparently the same problem happens again in iOS 8.0 and 8.1
Edit3
It's now fixed on ios9.2
Don't do any tweak to fix it.
Hi Today i ...
            
        
       
    
            84
            votes
        
        
            14
            answers
        
        
            60k
            views
        
    How to Edit Empty Spaces of Left, Right UIBarButtonItem in UINavigationBar [iOS 7]
                I was using iOS 6.1 earlier, but now I have moved to iOS 7. Along with other problems, I have observed that in my navigation bar, the left space of left bar button item and right empty space of the ...
            
        
       
    
            82
            votes
        
        
            6
            answers
        
        
            130k
            views
        
    Xcode 5 and iOS 7: Architecture and Valid architectures
                I'm starting new project in Xcode 5. I want to develop application using iOS SDK 7 but with deployment target iOS 5.0. As soon as I create new project in Xcode and try to change deployment target to 5....
            
        
       
    
            76
            votes
        
        
            21
            answers
        
        
            20k
            views
        
    iOS 7 UIRefreshControl tintColor not working for beginRefreshing
                I'm trying to set a tintColor on my UIRefreshControl (building on iOS 7).
I enabled refreshing for the tableViewController in storyboard, then in my ViewController viewDidLoad method i did the ...
            
        
       
    
            71
            votes
        
        
            17
            answers
        
        
            25k
            views
        
    UIButton not showing highlight on tap in iOS7
                I've looked at a ton of posts on similar things, but none of them quite match or fix this issue. Since iOS 7, whenever I add a UIButton to a UITableViewCell or even to the footerview it works "fine", ...
            
        
       
    
            70
            votes
        
        
            7
            answers
        
        
            38k
            views
        
    why UIScrollView is leaving space from top in ios 6 and ios 7
                I have turned off Autolayout and viewcontroller is embedded in navigation controller.
I am using Xcode 5, Storyboard.
I don't understand why is it leaving space from top.
Actually in storyboard i ...
            
        
       
    
            67
            votes
        
        
            11
            answers
        
        
            82k
            views
        
    How do I accept a self-signed SSL certificate using iOS 7's NSURLSession and its family of delegate methods for development purposes?
                I am developing an iPhone app. During development, I need to connect to a server that's using a self-signed SSL certificate. I'm pretty certain - (void)URLSession:(NSURLSession *)session ...
            
        
       
    
            63
            votes
        
        
            9
            answers
        
        
            43k
            views
        
    View got hidden below UINavigationBar iOS 7
                Earlier, I was using iOS 6.1 for my project. Recently I have switched to iOS 7. For, a lot of changes I knew, I updated my code.. But I have observed a strange behavior. My view on every screen gets ...
            
        
       
    
            60
            votes
        
        
            5
            answers
        
        
            42k
            views
        
    Black bars showing when running app on iOS 7 (4 inch retina display)
                We have an iPod app built with base SDK as 5.1.
App has a tabBarController with three tabs and each tab has a UIViewController to load a different view.
The app works fine for iOS 6.1 and iOS 7 (3.5 ...
            
        
       
    
            54
            votes
        
        
            15
            answers
        
        
            54k
            views
        
    How to adjust space between two UIBarButtonItem in rightBarButtonItems
                I am using the following codes to add two button to self.navigationItem.rightBarButtonItems, and I think in iOS7, the space between two buttons are too wide, is there a way to decrease the space ...
            
        
       
    
            51
            votes
        
        
            19
            answers
        
        
            27k
            views
        
    Xcode error : Distill failed for unknown reasons
                Does anybody know why this error happens on Xcode 5?
Answer
I had this problem when I accidentally renamed a .psd as a .png. Converting the image to an actual png instead of a Photoshop file fixed it ...
            
        
       
    
            50
            votes
        
        
            4
            answers
        
        
            28k
            views
        
    How much memory can one iOS app use?
                ... when it's in the foreground.
For the original iPad, with 256MB RAM, I found that my app could use up to 100-140MB before it got killed.
What's the situation nowadays? I could do go buy a bunch ...
            
        
       
    
            49
            votes
        
        
            25
            answers
        
        
            110k
            views
        
    iOS 7 status bar overlapping UI
                I recently upgraded to xcode 5 and when I run my app in the iOS simulator the splash screen overlaps the status bar and when you are in the app the status bar overlaps onto elements on my app, like a ...
            
        
       
    
            49
            votes
        
        
            3
            answers
        
        
            6k
            views
        
    Inject system wide touch events on iOS7
                Prior to iOS7 it was possible to inject touch events with the GSSendSystemEvent and GSSendEvent private API calls, eg:
GSSendEvent - Inject Touch Event iOS
Simulating System Wide Touch Events on iOS
...
            
        
       
    
            46
            votes
        
        
            8
            answers
        
        
            13k
            views
        
    UIActionSheet is not showing separator on the last item on iOS 7 GM
                It could be probably a bug on iOS7. But the last button is not separated from the previous one
As you can see from the image. This happens on both Simulator and device using iOS7 GM.
Does everyone ...
            
        
       
    
            44
            votes
        
        
            5
            answers
        
        
            29k
            views
        
    Removing empty space, if the section header is hidden in the UICollectionView
                I have two sections in UICollectionView. I want to show a section header in UICollectionView for only 1st section. Not in 0th section.
So I tried to return nil in viewForSupplementaryElementOfKind: ...
            
        
       
    
            43
            votes
        
        
            11
            answers
        
        
            51k
            views
        
    How to add only a TOP border on a UIButton?
                I know how to add border to a button in iOS 7, with the following code :
[[myButton layer] setBorderColor:[[[UIColor grayColor] colorWithAlphaComponent:0.5] CGColor]];
[[myButton layer] ...
            
        
       
    
            43
            votes
        
        
            2
            answers
        
        
            15k
            views
        
    in iOS 7 viewForHeaderInSection section is starting from 1 not from 0
                I am dealing with UITableView in my project and this project is created in Xcode 4.5 and now I am working with Xcode 5, so my question is when I will run my project in iOS 6 , the ...
            
        
       
    
            42
            votes
        
        
            4
            answers
        
        
            20k
            views
        
    iOS 7 UIDatePicker height inconsistency?
                I'm running into something weird when using UIDatePicker elements with Storyboards in iOS 7. In the Storyboard, the date picker has a fixed height of 162. In reality, however, the element takes up ...
            
        
       
    
            41
            votes
        
        
            2
            answers
        
        
            30k
            views
        
    How to Remove the Warning "Frame for Button will be different at run time."
                I am using Xcode 5 developer preview. When I change or add a in the XIB file from interface builder Xcode shows this warning: 
  Frame for Button will be different at run time.
How do I remove this ...
            
        
       
    
            41
            votes
        
        
            7
            answers
        
        
            15k
            views
        
    Strange new iOS 7 errors: receiver from DB / ForceShrinkPersistentStore_NoLock
                Good day.
I have a project that uses a lot of network connections with SSL. This project runs fine and without errors on iOS 5 and 6. But with new iOS 7 i keep getting these two errors:
ERROR: ...
            
        
       
    
            40
            votes
        
        
            3
            answers
        
        
            10k
            views
        
    ld: symbol dyld_stub_binding_helper not found, normally in crt1.o/dylib1.o/bundle1.o for architecture i386 xcode 5
                I created iphone/ipad app that was working well by xcode 4 and iOS6 
and I installed xcode 5 and I'm trying to run my app, but it now gives me the following error
ld: symbol dyld_stub_binding_helper ...
            
        
       
    
            40
            votes
        
        
            14
            answers
        
        
            20k
            views
        
    On iOS 7, pushing a controller with a toolbar leaves a gap of unusable space if it's ultimately contained within a tab bar controller
                In my iOS app, my window's rootViewController is a tab bar controller with the a hierarchy like this:
UITabBarController
UINavigationController 1
FirstContentController
UINavigationController 2
.....
            
        
       
    
            40
            votes
        
        
            4
            answers
        
        
            9k
            views
        
    How to detect the colour of an iPhone 5c? [duplicate]
                After iPhone 5c announcement, i'm curious if anybody knows an API how to get an iPhone 5c colour? I'm sure everyone will find it convenient loading a corresponding UI colour scheme to the device ...
            
        
       
    
            39
            votes
        
        
            4
            answers
        
        
            13k
            views
        
    Localize Asset Catalogs
                I know it's a new feature and this may not be possible, but I would like to be able to localize an Asset Catalog in different languages, to show a localized launch image. This was possible on XCode 4 ...
            
        
       
    
            38
            votes
        
        
            7
            answers
        
        
            39k
            views
        
    iOS 7 Table view fail to auto adjust content inset
                I am transiting my project to iOS7. I am facing a strange problem related to the translucent navigation bar. 
I have a view controller and it has a tableview as subview (let's call it ControllerA) . ...
            
        
       
    
            38
            votes
        
        
            5
            answers
        
        
            12k
            views
        
    Getting interactivePopGestureRecognizer dismiss callback/event
                Is there a clean solution on getting a callback or event on the view controller being dismissed (popped) by an interactivePopGestureRecognizer?
To be clear I need some explicit method getting called ...
            
        
       
    
            38
            votes
        
        
            13
            answers
        
        
            12k
            views
        
    iOS 7 Safari: OS locks up for 4 seconds when clicking/focusing on a HTML input
                UPDATE: The issue seems to stem from having many select elements on a page. How random is that?
So here's the issue. On iOS 7 Safari, when tapping the a text input on my site, the keyboard opens then ...
            
        
       
    
            37
            votes
        
        
            12
            answers
        
        
            32k
            views
        
    How to hide the status bar programmatically in iOS 7?
                In ios7, how can I hide the statusbar programmatically? I am using XCode 4.6.1 (ios6.1) and I want to implement this in XCode itself.
            
        
       
    
            36
            votes
        
        
            12
            answers
        
        
            48k
            views
        
    Unable to add a source with url
                [!] Unable to add a source with url [email protected]:CocoaPods/Specs.git named master-1. You can try adding it manually in ~/.cocoapods/repos or via pod repo add.   please any help
            
        
       
    
            36
            votes
        
        
            10
            answers
        
        
            103k
            views
        
    Thread 1: EXC_BAD_ACCESS (code=1, address=0xf00000c)
                I have problem with Thread 1: EXC_BAD_ACCESS (code=1, address=0xf00000c) and I don't know how to resolve it.
It appeared when I change some object in core date and save it and I try to pop this ...
            
        
       
    
            36
            votes
        
        
            6
            answers
        
        
            35k
            views
        
    iOS 7 dynamic blur effect like in Control Center
                I'm trying to make a controller that will be similar to Control Center in iOS7. From WWDC session #226 I've learnt how to get blurred image with different effects 
...
            
        
       
    
            36
            votes
        
        
            5
            answers
        
        
            15k
            views
        
    Moving status bar in iOS 7
                The problem I'm facing is this: 
I want to implement an iOS 7 app with nice design and left/right menu, which appears after the main view animate itself to the right/left. I'm doing this with [UIView ...
            
        
       
    
            36
            votes
        
        
            1
            answer
        
        
            7k
            views
        
    Bar translucency gone in iOS 7.0.3
                Compare the two screenshots:
Done on iOS 7.0 simulator
And the one done on iOS 7.0.3 iPhone 4S:
Same code here and there and same stuff! Any idea why the translucency is gone on the real device?
I ...
            
        
       
    
            35
            votes
        
        
            6
            answers
        
        
            31k
            views
        
    Custom image for UINavigation Back Button in iOS 7
                I have a custom UIBarButtonItem with an image that works fine in iOS 6.1. But iOS 7 has a tintColor and it overlays this color over my image. If I set the tintColor to [UIColor clearColor] the button ...