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.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
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.
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?
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?
Does a database subscription send a notification when the current user of the device accept a CloudKit share?
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.
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?
Anyone know how to use the Share Extension for iOS that either shows an alert or shows nothing at all when another app shares with your app?
Am I allowed to use a UIAlertController?
Why am I getting this error during code time in editor window of Xcode at every call to print function?
Use of 'print' refers to instance method rather than global function 'print(_:separator:terminator:)' in module 'Swift'
If I want to compare characters in iOS using the character code, how do I decide whether to compare the characters by their utf8 or utf16 or ascii code values?
I specifically would like to remove all characters from a CNPhoneNumber.stringValue that other than digits.
How do I use Core Bluetooth in the simplest possible way to send a value of 0 to 1 from an iOS device to a bluetooth peripheral that does nothing but interpret the value sent to it as how strongly a vibrating component on the bluetooth peripheral should vibrate. A value of zero would mean the peripheral device doesn't vibrate at all, of course.
The bluetooth peripheral would be the bluetooth ***** of course, and the iOS device would be the bluetooth master. The ***** device doesn't need to send anything at all to the master iOS device, except to link to the master. I don't know if that would allow the ***** bluetooth device to be any less expensive or smaller or simpler.
Is there a way to show what properties are in a vCard shared with a user in context of the current CNContact the same way in ContactViewController that iOS finds through Siri?
The documentation for hightlightProperty(withKey:identifier:) describes the parameter "key" as the "Key of the property to highlight." I believe that refers to the CNKeyDescriptor, such as CNContactGivenNameKey, which can cast from a type CNKeyDescriptor to String.
The documentation for identifier is "the value to highlight". I believe an example of that would be "John" as the given name.
Am I correct about all this?
In any case, I'm not able to highlight an email property when I use CNContactEmailAddresses as the key, and an actual email address as the identifier. I have also tried using the identifier property of CNLabeledValue, which is how an email address is stored.
I can't find anything on the internet to explain this. I didn't even find a similar question, except my own question asking this exact same question about two months ago.
Anyone have any idea or a good answer for this?
I don't see any current posts about the warning that says "PosterBoard quit unexpectedly." on my Mac. Older posts say this is an error generated by Xcode Simulator. I tried one of those solutions but I still see this warning coming up. I am also not using Simulator. I'm using an actual device - an iPhone 13 Pro Max running iOS 16.6. When I click on Reopen in that alert box telling me that warning message, I get a warning in an alert box with a picture of the Finder icon on it, and it says "You can’t open the application “PosterBoard.app” because this application is not supported on this Mac.".
Anyone else have this problem and know what do do about it? Like fix it or get around it?
Please say there is a way to programmatically delete playlists in Apple Music in iOS? I'll take any possible way or any hints whatsoever.