Posts

Post marked as solved
6 Replies
28k Views
I am preparing to submit an app for the very first time.Why is the default version number 1.0? Doesn't that 0 get truncated? Would it be better if I changed the version number to 1? Would it make a difference?
Posted Last updated
.
Post not yet marked as solved
0 Replies
436 Views
I'm trying out Apple's Document Browser I am trying to find what UTTypeIdentifier com.apple.coreaudio-​format conforms to for the UTTypeConformsTo item in Info.plist of said project. I was able to find com.apple.coreaudio-​format, but I am having trouble finding the UTTypeConformsTo value for that. Anyone can guide me or give me a hint?
Posted Last updated
.
Post not yet marked as solved
1 Replies
417 Views
Have any of you ever tried using a UITextView in stead of UITextField to do what UITextField does and does not do? I think it would make coding easier to since the two classes are similar but has to be treated a little differently by the code.
Posted Last updated
.
Post marked as solved
6 Replies
3.9k Views
If I've already set contraints using code in iOS, how do I change the constraits?
Posted Last updated
.
Post not yet marked as solved
1 Replies
1.4k Views
Which build caches and unused SDKs can I delete to free up storage on my Mac Pro with the latest macOS Monterey that I just updated? The all fall under the heading "Xcode Project Build Files". I see some that are considered "Xcode Project Build Files" and some "iOS Device Support" and some that are considered "BridgeOS Device Support". They all have the Xcode icon. I explain in detail below how I get to this screen. Basically it's in the System Information app. I'm not sure what is safe to delete. I have to free up space to update my Xcode on my Mac Pro. When I look at the screen that shows when I got to the Apple Logo on the very top left-hand corner of the menu, then go to About this Mac, then the Storage Tab and then click on the button that says "Manage...", then click on the button that says "Review Files"... When I click on "Developer" on the left tab, I see some rather large files. At the top it says, "Remove project build caches and unused SDKs to free storage space."
Posted Last updated
.
Post not yet marked as solved
0 Replies
556 Views
Has anyone noticed that with the latest iOS (16.1.2), UICloudSharingController doesn't restrict who can have access to the share when you set the availablePermissions to include .allowReadOnly and exclude .allowReadWrite. It behaves as I expect in the previous versions of iOS. Anyone know anything that would help me with this problem?
Posted Last updated
.
Post not yet marked as solved
1 Replies
585 Views
Is the owner and the the app the only ones that can change the value of CKShare.publicPermission using UICloudSharingController? I mean, can a participant change the the value of CKShare.publicPermission using UICloudSharingController if the permission property of that participant is readWrite and the participant has access to the presented UICloudSharingController and its availablePermissions property includes allowReadWrite? What exactly does UICloudSharingController.PermissionOptions.allowReadWrite grant read and write access to? Does that mean the current user can change the CKShare.publicPermission property? I don't think the user can change the values of the permission properties of participants if he/she changes CKShare.publicPermission. The way participants are affected is that they may lose access to the CKShare, but their permission property can only be set by the owner. Am I right about this?
Posted Last updated
.
Post not yet marked as solved
0 Replies
614 Views
I have an app that uses CKShare and UICloudSharingController to share data with other users of my app. I noticed that when Owner shares with UserA, UserA is able to "copy" the link or "send" the link, as the title of the button use. How do I disable that completely so that only the owner can copy or send the link? Also, what determines whether it says "Copy Link" or "Send Link"? Does that have to do with the version of iOS? I've tried every combination of UICloudSharingController.PermissionOptions to set to UICloudSharingController..availablePermissions ... [.allowPrivate, .allowReadOnly], [.allowReadOnly], [.allowPrivate], and []. Setting the value to [] sets it to .standard, which does the exact same thing as [.allowPrivate, .allowReadOnly], though the value is different for availablePermissions property.
Posted Last updated
.
Post not yet marked as solved
2 Replies
1.1k Views
What framework would I use to make one of those popup menus that I see when I long press a field when I look at a Contact in Contacts. The popup menu is black. It looks like a horizontal bar with items separated by a very think vertical white line between each item. When I press a field while viewing a Contact, the menu gives an option to Copy and another option for iPhone to Speak.
Posted Last updated
.
Post not yet marked as solved
1 Replies
544 Views
Has anyone ever heard about any requests for swift to implement a "guard catch" statement? It would be like a do catch statement that allows code execution to continue like a guard statement does, and would provide an Error object to be used with a return statement or any of the key words a guard statement allows when the guard condition fails. It would look like this: guard do { . . . } catch { . . . return error }
Posted Last updated
.
Post not yet marked as solved
1 Replies
499 Views
What is one key-value pair of a dictionary called? Or what is the best word for it to call a variable? "Pair" seems to be the simplest and most intuitive. Is there a better name for a variable for such? I'm wondering if there is a technical term defined for swift.
Posted Last updated
.
Post not yet marked as solved
2 Replies
1.7k Views
Apple Documentation says that there is only one CNContainer in an iOS device of type local. Creating a container of type exchange requires using Exchange, and creating a container of type cardDAV requires a server also. Is there any way to create a container of type unassigned? I would need to do this programmatically in Swift to use in my iOS app. This question and the posts it mentions give no answer.
Posted Last updated
.
Post not yet marked as solved
2 Replies
1.6k Views
Anyone ever tested Apple's sample code for SiriKit UnicornChat? How do I figure out what to say to Siri to see if the sample works?
Posted Last updated
.