NSPhotoLibraryUsageDescription key must be present in Info.plist to use camera roll

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

NavigationBar bar, tint, and title text color in iOS 8

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

Importing CommonCrypto in a Swift framework

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

UITableViewCell show white background and cannot be modified on iOS7

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

How can I scan barcodes on iOS? [closed]

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

What’s a redirect URI? how does it apply to iOS app for OAuth2.0?

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