Archive button grayed out in Xcode
Would you be able to help me understand the reason why Archive button is grayed out in Xcode? I have all developers profiles downloaded Device type set to iPhone 6 And archive is checked in scheme. 1 Answer 1
Would you be able to help me understand the reason why Archive button is grayed out in Xcode? I have all developers profiles downloaded Device type set to iPhone 6 And archive is checked in scheme. 1 Answer 1
I know that I need to tell my UITextField to resign first responder when I want to dismis the keyboard, but I’m not sure how to know when the user has pressed the “Done” key on the keyboard. Is there a notification I can watch for? 22 Answers 22
Recently I started to get this error: NSPhotoLibraryUsageDescription key must be present in Info.plist to use camera roll. I am using React Native to build my app (I am not familiar with ios native development) and I don’t know how to add this key to Info.plist Can you post an example? Thanks I am using … Read more
The background text in the status bar is still black. How do I change the color to white? // io8, swift, Xcode 6.0.1 override func viewDidLoad() { super.viewDidLoad() self.navigationController?.navigationBar.barTintColor = UIColor.blackColor() self.navigationController?.navigationBar.titleTextAttributes = [NSForegroundColorAttributeName: UIColor.orangeColor()] } 18 Answers 18
When I’m trying to run iOS application in Xcode 6 in iPhone 6 simulator, I’m getting error Unable to run app in Simulator. And error code is: An error was encountered while running (Domain = FBSOpenApplicationErrorDomain, Code = 4) Can any one suggest how to resolve it? 12 Answers 12
How do you import CommonCrypto in a Swift framework for iOS? I understand how to use CommonCrypto in a Swift app: You add #import <CommonCrypto/CommonCrypto.h> to the bridging header. However, Swift frameworks don’t support bridging headers. The documentation says: You can import external frameworks that have a pure Objective-C codebase, a pure Swift codebase, or … Read more
I’ve implemented a custom table view cell class that inherit from UITableViewCell. The tableview contains a background image, so I want cell’s background to be transparent. It looks great before iOS7. However, in iOS7, the cell is always shown with a white background. Even for Xcode7, 2015, there is a bug in storyboard: you have … Read more
I want to do something in Swift that I’m used to doing in multiple other languages: throw a runtime exception with a custom message. For example (in Java): throw new RuntimeException(“A custom message here”) I understand that I can throw enum types that conform to the ErrorType protocol, but I don’t want to have to … Read more
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations. Closed 9 months ago. The community reviewed whether to reopen this question 9 … Read more
Beginner programmer here, please pardon ignorance & explanations will be really nice 🙂 I’ve tried to read the tutorials for a certain OAuth 2.0 service, but I don’t understand this redirect URI… in my particular context, let’s say I’m trying to build an iPhone app that uses OAuth 2.0 for some service. I have an … Read more