Post

Replies

Boosts

Views

Activity

How do I restrict a share to only be shared by specific users in iOS 16?
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?
1
0
727
Dec ’22
How do I use bluetooth to send only a value of 0 and up to a bluetooth device?
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.
0
0
735
Jul ’23
How do I highlight a property in CNContactViewCotnroller?
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?
0
0
785
Aug ’23
"PosterBoard quit unexpectedly." warning in my Mac running macOS 13.4.1(c)
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?
2
0
1.1k
Aug ’23
Why is the text not complying with contour tag?
I got this SSML from w3. org. AVSpeechUtterance(ssmlRepresentation:) is not complying with the contour. It doesn't change hz. <?xml version="1.0"?> <speak version="1.1" xmlns="http://www.w3.org/2001/10/synthesis" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3.org/2001/10/synthesis http://www.w3.org/TR/speech-synthesis11/synthesis.xsd" xml:lang="en-US"> <prosody contour="(0%,+20Hz) (10%,+30%) (40%,+10Hz)"> good morning </prosody> </speak> override func viewDidLoad() { super.viewDidLoad() guard let localUtterance = AVSpeechUtterance(ssmlRepresentation: self.speechSML) else { print("SML did not work.") return } self.utterance = localUtterance self.utterance.voice = self.voiceNoelle } self.synthesizer.speak(self.utterance)
1
0
860
May ’24
How do I restrict a share to only be shared by specific users in iOS 16?
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?
Replies
1
Boosts
0
Views
727
Activity
Dec ’22
Does the user accepting a CKShare trigger a notification for a CKDatabaseSubscription?
Does a database subscription send a notification when the current user of the device accept a CloudKit share?
Replies
1
Boosts
0
Views
811
Activity
Dec ’22
Is it effective to use UITextView as a UITextField?
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.
Replies
1
Boosts
0
Views
578
Activity
Feb ’23
how do I find what com.apple.coreaudio-format conforms to?
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?
Replies
0
Boosts
0
Views
689
Activity
May ’23
How do I make share extension not show a view when it accepts a share?
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?
Replies
0
Boosts
0
Views
708
Activity
May ’23
Use of 'print' refers to instance method rather than global function 'print(_:separator:terminator:)' in module 'Swift'
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'
Replies
3
Boosts
0
Views
2.5k
Activity
Aug ’23
When to use utf8 vs utf16 vs ascii character codes?
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.
Replies
1
Boosts
0
Views
925
Activity
Jun ’23
How do I use bluetooth to send only a value of 0 and up to a bluetooth device?
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.
Replies
0
Boosts
0
Views
735
Activity
Jul ’23
Show CNContact and what fields are about to be merged?
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?
Replies
0
Boosts
0
Views
734
Activity
Jul ’23
How do I highlight a property in CNContactViewCotnroller?
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?
Replies
0
Boosts
0
Views
785
Activity
Aug ’23
"PosterBoard quit unexpectedly." warning in my Mac running macOS 13.4.1(c)
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?
Replies
2
Boosts
0
Views
1.1k
Activity
Aug ’23
How do I programmatically delete playlists in Apple Music on iOS?
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.
Replies
0
Boosts
0
Views
634
Activity
Nov ’23
Is there a way to get the list of contacts in a message or message chain or put them in a group
Is there a way to get the list of contacts in a message or message chain in Messages app on iOS. At one time when I looked for a way to do this there was no available way without jailbreaking. Has anything changed? Is there a way to do this now?
Replies
0
Boosts
0
Views
602
Activity
Mar ’24
Why is the text not complying with contour tag?
I got this SSML from w3. org. AVSpeechUtterance(ssmlRepresentation:) is not complying with the contour. It doesn't change hz. <?xml version="1.0"?> <speak version="1.1" xmlns="http://www.w3.org/2001/10/synthesis" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3.org/2001/10/synthesis http://www.w3.org/TR/speech-synthesis11/synthesis.xsd" xml:lang="en-US"> <prosody contour="(0%,+20Hz) (10%,+30%) (40%,+10Hz)"> good morning </prosody> </speak> override func viewDidLoad() { super.viewDidLoad() guard let localUtterance = AVSpeechUtterance(ssmlRepresentation: self.speechSML) else { print("SML did not work.") return } self.utterance = localUtterance self.utterance.voice = self.voiceNoelle } self.synthesizer.speak(self.utterance)
Replies
1
Boosts
0
Views
860
Activity
May ’24
How many CBService objects can a CBCharacteristic belong to
How many CBService objects is a CBCharacteristic object allowed to belong to?
Replies
1
Boosts
0
Views
473
Activity
Jul ’24