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?
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
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)
How many CBService objects is a CBCharacteristic object allowed to belong to?
I want my app to allow the user to search for certain words in a video file and the transcript of that video. I found a Transcript class. I don't remember which Framework it is in. Would someone point me in the right direction? What Framework and Classes should I use.
I have been getting these error messages in debug window in Xcode:
2023-06-06 07:46:15.412684-0500 Courier[8456:442818] [LayoutConstraints] Unsupported layout off the main thread for _UIModernBarButton with nearest ancestor view controller, UINavigationController
2023-06-06 07:46:15.413268-0500 Courier[8456:442818] [Assert] -[UIImageView _invalidateImageLayouts] must be called on the main queue
2023-06-06 07:46:15.413730-0500 Courier[8456:442818] [Assert] -[UIImageView _layoutForImage:inSize:cachePerSize:forBaselineOffset:] must be called on the main queue
(lldb)
The messages come when my code crashes and gives this error message in a red ribbon in the editor window:
Thread 10: EXC_BREAKPOINT (code=1, subcode=0x10515fd44)
In the Debug navigator on the left pane of Xcode, it shows the code stopped at:
#0 0x000000010515fd44 in _dispatch_assert_queue_fail ()
This is what shows at the end in the editor window. At the very end is where the error message in the red ribbon shows:
0x10515fd10 <+68>: add x9, x9, #0xf2f ; "BUG IN CLIENT OF LIBDISPATCH: Assertion failed: "
0x10515fd14 <+72>: stp x9, x8, [sp]
0x10515fd18 <+76>: adrp x1, 65
0x10515fd1c <+80>: add x1, x1, #0xefa ; "%sBlock was %sexpected to execute on queue [%s (%p)]"
0x10515fd20 <+84>: sub x0, x29, #0x18
0x10515fd24 <+88>: bl 0x10519cfc8 ; symbol stub for: asprintf
0x10515fd28 <+92>: ldur x19, [x29, #-0x18]
0x10515fd2c <+96>: str x19, [sp]
0x10515fd30 <+100>: adrp x0, 65
0x10515fd34 <+104>: add x0, x0, #0xf65 ; "%s"
0x10515fd38 <+108>: bl 0x1051986b0 ; _dispatch_log
0x10515fd3c <+112>: adrp x8, 98
0x10515fd40 <+116>: str x19, [x8, #0x268]
-> 0x10515fd44 <+120>: brk #0x1
I have no idea which code is causing the error, so I don't even know what code to put in my question.
I created a symbolic breakpoint with 'LayoutConstraints' in the Symbol field. It is never tripped.
I get no purple warnings that says a line of code should not be in the main thread.
I have no idea where to go from here. I don't ind anything when I do a search in the internet that is narrowed down to address my error.
I am running the code on an iPhone 13 Pro Max device with iOS 16.5.
I am using Xcode 14.3 on a Mac Pro running Ventura 13.4
Is there a way for my app to know that a phone number has just been messaged to or a call to 911 just started? Or SOS has just been executed by the user?
Topic:
App & System Services
SubTopic:
Automation & Scripting
Tags:
iOS
SMS and Call Reporting
CallKit
I ran out of disk space and I think I've come to the point that I need to delete files used by Xcode. Can I delete Simulator altogether? It doesn't look like I can run the latest Xcode without iOS 18 installed with it on my Mac Pro. Is there any way I can exclude iOS 18 support using the current Xcode? Would it be a good option to uninstall the latest Xcode and use a previous version of Xcode instead, since I'm not developing for iOS 18? Since I've been working on only macOS apps, is it possible for me to delete anything that has to do with developing for iOS?
I'm able to get text to speech to audio file using the following code for iOS 12 iPhone 8 to create a car file:
audioFile = try AVAudioFile(
forWriting: saveToURL,
settings: pcmBuffer.format.settings,
commonFormat: .pcmFormatInt16,
interleaved: false)
where pcmBuffer.format.settings is:
[AVAudioFileTypeKey: kAudioFileMP3Type,
AVSampleRateKey: 48000,
AVEncoderBitRateKey: 128000,
AVNumberOfChannelsKey: 2,
AVFormatIDKey: kAudioFormatLinearPCM]
However, this code does not work when I run the app in iOS 18 on iPhone 13 Pro Max. The audio file is created, but it doesn't sound right. It has a lot of static and it seems the speech is very low pitch.
Can anyone give me a hint or an answer?