I was experimenting with the screen time controls to see how it affected an app I am working on and I created a screen time passcode that I later forgot. Any fix? I can't find the "forgot passcode" button anywhere and I am now unable to turn off find my as a result.
This is a dedicated space for developers to connect, share ideas, collaborate, and ask questions. Introduce yourself, network with other developers, and join us in fostering a supportive community.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Hello,
I use Navigationstack in the first and second views. In this case, the second view is executed immediately and then disappears.
Is there a solution?
The code is as follows.
device = i-phone
struct ContentView: View {
@State var path: [String] = []
var body: some View {
NavigationStack(path: $path) {
VStack {
Text("Screen1")
Spacer()
Button(action: {
path.append("2nd")
}, label: {
Text("go to 2nd Screen")
})
}
.navigationDestination(for: String.self) { s in
if s == "2nd" {
let _ = print("1st screen nav path(1) = \(path)")
SecondScreen(path: $path)
let _ = print("1st screen nav path(2) = \(path)")
}
}
.onAppear {
print("1st screen on appear")
print("1st screen path = \(path)")
}
.onDisappear {
print("1st screen on disappear")
print("1st screen disa. path = \(path)")
}
.padding()
}
}
}
struct SecondScreen: View {
@State var path2: [String] = []
@Binding var path: [String]
var body: some View {
NavigationStack(path: $path2) {
VStack {
Text("2nd Screen is loaded")
Spacer()
Button(action: {
path2.append("3rd")
}
, label: {
Text("go to 3rd Screen")
})
Button(action: {
path2.removeLast()
}
, label: {
Text("back to 1st Screen")
})
}
.navigationDestination(for: String.self) { s in
if s == "3rd" {
// Text("3rd")
thirdScreen()
} else {
thirdScreen()
}
}
}
.onAppear {
print("2nd screen on appear")
print("2nd screen path = \(path)")
print("2nd screen path2 = \(path2)")
}
.onDisappear {
print("2nd screen on disappear")
print("2nd screen path = \(path)")
print("2nd screen disa. path2 = \(path2)")
}
}
}
struct thirdScreen: View {
var body: some View {
VStack {
Text("3rd Screen")
}
.onAppear {
print("3rd screen on appear")
}
.onDisappear {
print("3rd screen on disappear")
}
}
}
Topic:
Community
SubTopic:
Apple Developers
iPhone:
iPhone 12 pro max, iOS:18.3.1
Step:
Connect CarPlay to my car, after connection success, CarPlay screen is black.
This issue only happens of first time connection;
I have asked OEM factory, they told me because of my iOS version is larger than 17.5, and above this version, will have this issue.
So, I need your help to figure problem and update in new version.
With CarPlay communication plugin R18.1, I followed these steps to integrate Enhance siri, the music sound was output from carplay and there is no option for output to Car.
============================================
Enhanced Siri
Declare supported audioFormats for the AuxIn and AuxOut streams
Since the AuxIn and AuxOut streams for Siri do not have to be both active at the same time, the accessory must claim audio formats support
for AuxIn Audio and AuxOut audio independently. The audio formats for each stream can differ from each other (48KHz for AuxOut and 16KHz
for AuxIn). The new audio types represent these new streams - AuxIn/speechRecognition & AuxOut/speechRecognition.
Check if connected device supports the feature
AirPlayReceiverSessionHasFeatureEnhancedSiri()
Claim support in the Setup Response message if device supports the feature
Add kAirPlayKeyAccessoryEnabledFeature_EnhancedSiri key through the AirPlayReceiverServer delegate AirPlayReceiverServerCopyProperty_f
function for the kAirPlayKey_AccessoryEnabledFeatures key.
Helper function: CFArrayAppendValue()
Add Enhanced Siri parameters dictionary in the INFO message
Add dictionary through the AirPlayReceiverServer delegate AirPlayReceiverServerCopyProperty_f
function for the kAirPlayKey_EnhancedSiriInfo key.
kAirPlayKey_EnhancedSiriInfo dictionary parameters:
Voice activation of Siri - kAirPlayKey_EnhancedSiriVoice
Current language of voice model - kAirPlayKey_VoiceModelCurrentLanguage
Supported languages of voice model - kAirPlayKey_VoiceModelSupportedLanguages
Enhanced Button activation of Siri - kAirPlayKey_EnhancedSiriButton
Supported zone(s) if any - kAirPlayKey_SupportedSiriTriggerZones
Update AudioStream
Get state of the AuxIn state by providing an implementation of AudioStreamUpdateState() - Off, local buffering, or streaming to device.
Decouple input streams from output streams. AuxIn is an independent input stream only. The property kAudioStreamProperty_Direction will
provide the necessary information if the stream is input, output or input & output.
Provide a handler for the AirPlayReceiverSessionDelegate setEnhancedSiriParams_f
This will provide additional information:
Activation type
Setting the language of the voice model
Invoke the Communication Plugin to start buffering
Once the activation type has been specified, the accessory can request the plugin to start buffering using
AirPlayReceiverSessionAuxInStart().
Use the new APIs to trigger Siri:
AirPlayReceiverSessionRequestSiriActionWithLatency()
AirPlayReceiverSessionRequestSiriVoiceActivationWithLatency()
AirPlayReceiverSessionRequestSiriVoiceActivationWithSample()
Button presses and voice activations should use this new APIs which adds a timestamp of the activation. These APIs allow
a choice of a latency or a sample for button and voice activations.
If there is a delay between the user pressing the button to notifying the device on the button press, this latency value
should represent this time.
If the accessory can determine which zone activated, it can provide the zone with the request.
Invoke the Communication Plugin to stop buffering
You may need to invoke the plugin to stop buffering (AirPlayReceiverSessionAuxInStop()) if exclusive access to the microphone is necessary.
Such instances may include but not limited to:
Native voice recognition session
Telephony
Another stream function which uses the microphone starts
modesChanged notification can be used to determine if a resource is being used
Note, if the session ends, the plugin will automatically stop buffering
when I receive calls on my mobile number and I am connected to a Wifi, the calls is cancelled after the second ring and the caller receives a busy signal. That means I cannot receive calls anymore.
This problems happens with different mobile providers and does not occur on my Samsung Galaxy Phone with the same number (eSim).
Even when I disable WIFI Calling the problem persists, when I am connected to a WIFI.
Only when I disable the WIFI Connect and I am only connected to the mobile carrier, the calls go throuhg in a normal way.
VERY annoying and hast not been fixed with Beta 3 of iOS 18.4.
Any clue how this can be solved with settings?
Hope Apple fixes this very soon!
Topic:
Community
SubTopic:
Apple Developers
I have updated my ipad 7th gen to ipados18.3 Beta last week and I realized that there is no sound at all no sound from speakers and no sound from bluetooth devices and no sound from airplay, I've checked google and reddit and alot of research people told me its a software bug, i submitted a bug report and now im still waiting for a bug fix update, youtube dosent work neither spotify aswell their UI stops working when i try to use it, So how long do i have to wait for a bug fix? Thanks apple.
after updating to beta 4 the whole phone is not working anymore
nothing is working only making calls and the camera
no apps no internet even if it's connected to wifi or 5G
ANd to get back to the old version you will lose your backup
And now im stuck my data that i can't restore it cuz it have been made on the last IOS beta
I don't want to lose my date and i don't know what to do
Please help
Apple announces a Japanese game (Assassin's Creed) in Japanese in Japan but then states "the App is currently not available in your country or region"... that is, Japan!
https://developer.apple.com/jp/news/?id=q2zte70j
Game is unavailable so why announce it?
I am having trouble passing custom data in an array with a navigation stack. I want to display a subview with the same data structure (title, headline, picture placement etc), with different data attached for each of my list view items
I am working on task to add WKWebView to Autofill extension. This web view presents web content that can access camera feed.
As an example here is a simple html:
I have added Camera permission entitlements to both main app and autofill extension Info.plist
Camera feed is accessed properly from the main app. However, doing the same in the Autofill extension does not show Camera stream in the web content.
I am receiving camera permissions alert and am allowing permissions.
It just stucks on the black screen and in console I see these logs:
16000a00 - GPUProcessProxy::didClose:
0x116000a00 - GPUProcessProxy::gpuProcessExited: reason=Crash
0x1150180c0 - [PID=1 523] WebProcessProxy::gpuProcessExited: reason=Crash
Error acquiring assertion: <Error Domain=RBSServiceErrorDomain Code=1 "target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit" UserInfo={NSLocalizedFailureReason=target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit}>
0x115020360 - ProcessAssertion::acquireSync Failed to acquire RBS assertion 'GPUProcess Background Assertion' for process with PID=1 524, error: Error Domain=RBSServiceErrorDomain Code=1 "target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit" UserInfo={NSLocalizedFailureReason=target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit}
0x1160012a0 - GPUProcessProxy::didClose:
0x1160012a0 - GPUProcessProxy::gpuProcessExited: reason=Crash
0x1150180c0 - [PID=1 523] WebProcessProxy::gpuProcessExited: reason=Crash
Error acquiring assertion: <Error Domain=RBSServiceErrorDomain Code=1 "target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit" UserInfo={NSLocalizedFailureReason=target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit}>
0x115020300 - ProcessAssertion::acquireSync Failed to acquire RBS assertion 'GPUProcess Background Assertion' for process with PID=1 525, error: Error Domain=RBSServiceErrorDomain Code=1 "target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit" UserInfo={NSLocalizedFailureReason=target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit}
Looks like WKWebView crashes.
Here are my configurations for the WKWebView:
let webConfiguration = WKWebViewConfiguration()
webConfiguration.allowsInlineMediaPlayback = true
webConfiguration.mediaTypesRequiringUserActionForPlayback = []
let webView = WKWebView(frame: .zero, configuration: webConfiguration)
webView.navigationDelegate = self
webView.uiDelegate = self
webView.scrollView.isScrollEnabled = false
webView.contentMode = .scaleAspectFit
view.addSubview(webView)
Does anyone know what might be the problem?
Is it even possible to access Camera from web content in Autofill extension?
hello, when i triy enroll to apple developer program i receive this message: Your enrollment could not be completed at this time.
I hope someone can help me sion.
Topic:
Community
SubTopic:
Apple Developers
Hi team,
I am trying to enroll my company, in the Apple Developer Program - I am repeatedly receiving a rejection from Apple’s system. It shows in review and when I continue to enrollment, nothing happens. It submits as a new request.
I have:
✅ Verified my business name and address with D&B (matches exactly).
✅ Checked that my business is a legal entity (LLP).
✅ Ensured all details match across D&B, UPIK, and Apple’s lookup tool.
✅ Attempted re-submission multiple times without success.
However, despite these steps, I am still unable to proceed.
Please help.
Topic:
Community
SubTopic:
Apple Developers
Hi,
We have recently encountered a problem running our App on iPads with A9, A10 chipset. Since recently we have migrated our Network module to swift 6 our app has stoped working on these devices.
Anyone else has noticed that too or if someone know why that is happening only for iPads with specific hardware?
Greetings Apple Communithy,
Caraveo here, I am attempting to create an node-based diagram app... this is my first app. I am want to create an app that will help me personally organize my career, ideas, and projects.
Its a document based app.... that allows users to store files into a .memory extension.
For example users will be able to create a file called "myBook.memory"
I am attempting to create a work-flow where users can "clone" files into each node. PDFs, Documents, Audio, Video, Media, etc. They can then just work with their .memory file and share it, back it up, manage it...
To me this is very important..... it will help me immensely... its a new super simple way to manage your ideas.
Please learn more here.... MemoryProApp.com
I need a co-coder, alpha testers, and anyone that is interested in working on this project.
I am having issues with the file attachements and the documentation saving is failing on me for some reason. Thank you everyone!
Topic:
Community
SubTopic:
Apple Arcade
I updated my Apple Watch Series 6 before Apple withdrew beta 11.4 as an option. I see on forums that I am not alone with this issue. Many series 6 watches are now stuck in a boot loop. I hope Apple can resolve the issue for those of us that pushed the update to our watches before the issue was identified. Support were unable to assist.
Topic:
Community
SubTopic:
Apple Developers
Hi Everyone,
I’m currently working on an app that uses NFC functionality, and I’ve hit a roadblock during the App Store review process. The review team has requested a demo video that demonstrates the app’s NFC functionality in use, as per Guideline 2.1.
Here are the details I’ve received from the App Store team:
• The demo video should show the app running on a physical iOS device, not on a simulator.
• It needs to clearly document the NFC-related app features, user permission requests, and how the app interacts with NFC tags.
My Challenges:
1. I’m unsure about the best way to visually capture the NFC interaction, as it involves scanning physical tags.
2. Are there any recommended tools or techniques for recording a demo on an iOS device that complies with Apple’s guidelines?
3. Has anyone successfully submitted an NFC app with a similar requirement? If so, I’d appreciate tips or examples of how you structured your video.
I want to make sure I meet all the necessary requirements so the app passes review. Any advice or guidance would be greatly appreciated!
Thank you in advance for your help.
Best regards,
Edwin
Topic:
Community
SubTopic:
Apple Developers
HELP THANKS , ANY ONE KOWN WHY PAY AND PASS TWO WEEKS, STILL IN PEDDING?
Topic:
Community
SubTopic:
Apple Developers
I have the following questions that need official answers:
1: Whether the Bluetooth scanning cycle can be controlled through the software level. If it can be controlled, please tell me how to control it.
2: Now the IOS mobile phone scanning strategy, how long is the scanning cycle, and what is the scanning duty cycle in this scanning cycle
Topic:
Community
SubTopic:
Apple Developers
When using a VStack containing two TextFields inside a ScrollView on an iPad running iOS 18.0, the FocusState of the topmost TextField does not trigger, while the second TextField's FocusState works correctly. Adding an invisible TextField on top resolves the issue, but it appears to be a bug specifically in iOS 18.0 on iPads. This issue does not occur on iOS versions below or above 18.0 (including iOS 18.1).
Code that is not working
struct ContentView: View {
@State var text: String = ""
@FocusState
private var focusState: Bool
var body: some View {
ScrollView(.vertical, content: {
VStack(spacing: 0) {
TextField(text: $text) {
Text("Hello, World!")
}
.border(focusState ? Color.red : Color.gray)
.focused($focusState)
.onChange(of: focusState) { oldValue, newValue in
print(newValue)
}
.onChange(of: text) { oldValue, newValue in
focusState = true
}
}
})
.padding()
}
}
Code that is working
struct ContentView: View {
@State var text: String = ""
@FocusState
private var focusState: Bool
var body: some View {
ScrollView(.vertical, content: {
VStack(spacing: 0) {
// Invisible Text Field
TextField("", text: .constant(""))
.frame(height: 0)
TextField(text: $text) {
Text("Hello, World!")
}
.border(focusState ? Color.red : Color.gray)
.focused($focusState)
.onChange(of: focusState) { oldValue, newValue in
print(newValue)
}
.onChange(of: text) { oldValue, newValue in
focusState = true
}
}
})
.padding()
}
}
When I use the screenshot feature, I find that the screenshot becomes darker in color compared to the original image, this seems to be a bug in iOS 18. can anyone help me?