info.plist

In Xcode, under Info tab, what's Role for in URL Types section?

别等时光非礼了梦想. 提交于 2019-12-03 10:38:54
问题 In Xcode, under Info tab, what's Role dropdown in URL Types section for? The valid value for this is Editor, Viewer, None. 回答1: It represents what your app can do with the URL / file type. Editor == read and write. Viewer == read only. None == can't use at all. This flag isn't used by iOS. 来源: https://stackoverflow.com/questions/16598352/in-xcode-under-info-tab-whats-role-for-in-url-types-section

Unable to set custom font for the UILabel in XCode

℡╲_俬逩灬. 提交于 2019-12-03 08:05:36
I am unable to set custom font for the UILabel in XCode. This is what I've tried: Download "JennaSue" font -- http://www.dafont.com/jenna-sue.font Open "app-info.plist" under "Supporting Files" folder Add new row in the list with key "Fonts provided by application" In this array add "JennaSue.ttf" Use it in the code like this: self.someLabel.font = [UIFont fontWithName:@"JennaSue" size:14]; And nothing happens -- the default font is visible. Why? What am I doing wrong? How can I fix it? Be sure your font is in Bundle Resources. For some reason Xcode it is not importing custom font properly

What does “InfoDictionary version” signify in information property list (plist file)?

荒凉一梦 提交于 2019-12-03 05:36:06
What does "InfoDictionary version" signify? It is definitely different from the bundle version, but what is the role of "InfoDictionary version"? 9to5ios "InfoDictionary version" signifies the version information for the Info.plist format. See Apple's doc for CFBundleInfoDictionaryVersion for details. CFBundleInfoDictionaryVersion ( String - iOS, macOS) identifies the current version of the property list structure. This key exists to support future versioning of the information property list file format. Xcode generates this key automatically when you build a bundle and you should not change

Can you dynamically assign CFBundleDocumentTypes to your Cocoa application?

久未见 提交于 2019-12-03 05:34:48
Can you dynamically assign CFBundleDocumentTypes to your Cocoa application? Meaning during run time can I assign more extensions for my app to handle. Currently I set some extensions for my app to handle using CFBundleDocumentTypes in the Info.plist, but I would like to do this through code while the application is executing (during run time). Basically can I make Launch Services aware of new extensions without modifying the Info.plist file. Thanks. At the moment, there’s no public API 1 for an application to dynamically (un)register document types with Launch Services during runtime. Open Emu

-canOpenURL: failed for URL: “spotify:” - error: “(null)”

帅比萌擦擦* 提交于 2019-12-02 10:59:15
Not sure if this is true , but from what I've read, people say this issue only occurs on the Xcode simulator so you you must test on an actual device. The problem with this is my current server is a local node server at http://localhost:3000 , and my iOS device can not access this server. 1) Is there a way to give my iOS device access to the local server on my device? 2) Why am I getting this error when running the simulator? I have put the following in my info.plist: <key>LSApplicationQueriesSchemes</key> <array> <string>spotify</string> </array> 1) To test on the device - replace the

info.plist adding a key

帅比萌擦擦* 提交于 2019-12-02 10:04:05
Very simple question: How do I add this to info.plist? There's multiple info.plist files and all I can see is how to add a row. <key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbitraryLoads</key> <true/> </dict> If you have multiple targets, each target has a separate PList file with name [TARGET-NAME]-Info.plist . You can add this by clicking the plus icon, then write NSAppTransportSecurity under "key" and choose type to be a dictionary. Then open it (arrow on the left should be facing down) and click the plus icon of that row, this will add a new entry under the NSAppTransportSecurity

UIActivityViewController Share text in whats app and all sharing option

青春壹個敷衍的年華 提交于 2019-12-01 18:51:49
问题 In my application I used UIActivityViewController to share text in Whatsapp, Facebook and Twitter etc. I am working in iOS 9 and Xcode Version 7.2. When I click on Whatsapp icon and click on particular contact person for share then pop up the following alert view: When I click on OK , I get the following warning in debug pane: plugin net.whatsapp.WhatsApp.ShareExtension invalidated and i also set LSApplicationQueriesSchemes to whatsapp in .plist file but it didn't work. I want to share text

Xcode 7 error: could not read CFBundleIdentifier from Info.plist (null)

若如初见. 提交于 2019-12-01 16:36:29
Getting this Error as below: error: could not read CFBundleIdentifier from Info.plist (null) When I opened Xcode 7, it asked to update app to recommended settings, I did so and then ran the project and received the above error. I haven't changed anything in the project. What do I need to change here? Manesh You just need to do update your all info.plist file. Set Bundle identifier, Bundle name again, will work proper. Move your info.plist from the Supporting Files in the Project Navigator on the left, to the Root App folder with the ViewController.m 's and h 's. this simple problem in xcode

NSLocationWhenInUseUsageDescription localization using .strings file not working

这一生的挚爱 提交于 2019-12-01 15:32:21
I've completed translating my app to Turkish using Base Localization. However, I also need to translate NSLocationWhenInUseUsageDescription key in my Info.plist file. I did exactly what I did for everything else: Went to File inspector and checked Turkish: Then I went to the new strings resource and completed my translation by adding this key to the localization file: "NSLocationWhenInUseUsageDescription" = "[my Turkish description of location permissions]"; Saved, compiled, even deleted app from device and rebuilt, but no avail. When my app asks for location permissions, the explanation

AppStore language description and “Localization native development region”

北慕城南 提交于 2019-12-01 05:54:22
an iPhone app, localized in three languages (english, italian and spanish), was submitted to the AppStore with description and screenshots in the three languages. The result is that in AppStore USA there is an english description, in the AppStore Spain there is a spanish description and in the AppStore Italy there is an italian description, but in all the others AppStore the language description is the italian. I think the problem is that in the info.plist file, the "Localization native development region" entry is set to Italy, isn't it? But I don't succeed in explaining another thing: if