Post

Replies

Boosts

Views

Activity

Reply to SwiftUI MacOS Return/Enter Key in TextField
use the submit modifier on the the ok button TextField("Name: ", text: $name) TextField("Description:", text: $description) Button("Cancel") { self.isVisible.Toggle() } .keyboardShortcut(.cancelAction) Button("Ok") { doSomeThing() } .keyboardShortcut(.defaultAction) .onSubmit { doSomething() }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Feb ’22
Reply to Is it possible that the device token for Push notification will change while the app is running?
Please mention a specific problem you're experiencing instead of being as clear as mud. As the documentation outlines it will call the method mentioned if there is a change while the app is running or the next time the app launches. It is your responsibility to take the token and store it somewhere for use by your APNS backend sending server, or script any time a notification has to be delivered to the device.
Feb ’22
Reply to ANS - Autonomic nervous system
This can be a starting point. Read: https://dl.acm.org/doi/fullHtml/10.1145/3453892.3462647 https://developer.apple.com/documentation/healthkit/data_types
Replies
Boosts
Views
Activity
Feb ’22
Reply to Monteray can’t be opened because Apple cannot check it for malicious software?
Are all certificates current?
Topic: Code Signing SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’22
Reply to What is this view that appears floating over the tableView ?
Probably a recycled view, separator, extended nav bar, ... are you able to recreate the same behaviour in another sample project?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Feb ’22
Reply to How to constrain a tableView to safe area ?
I'm able to set the constraint via ctrl-drag - Xcode 13.2.1
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Feb ’22
Reply to Apple ID sign in requested
Please go here for all retail support questions: https://discussions.apple.com/welcome
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
Feb ’22
Reply to I received this email
Please go here for all retail support questions: https://discussions.apple.com/welcome
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
Feb ’22
Reply to Your Apple ID was used to sign in to iCloud via a web browser email
Please go here for all retail support questions: https://discussions.apple.com/welcome
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
Feb ’22
Reply to My volume was loud on my sons phone
Please go here for all retail support questions: https://discussions.apple.com/welcome
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
Feb ’22
Reply to I did set a alarm for 6 on my sons phone
Please go here for all retail support questions: https://discussions.apple.com/welcome
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
Feb ’22
Reply to MTKView on macOS is printing CVDisplayLink strings on M1
Debug output for animations or view state changes
Topic: Graphics & Games SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’22
Reply to Data-binding not working Xamarin Forms
Wrong forum check Microsoft or learn Obj-c or swift.
Topic: Machine Learning & AI SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’22
Reply to SwiftUI MacOS Return/Enter Key in TextField
use the submit modifier on the the ok button TextField("Name: ", text: $name) TextField("Description:", text: $description) Button("Cancel") { self.isVisible.Toggle() } .keyboardShortcut(.cancelAction) Button("Ok") { doSomeThing() } .keyboardShortcut(.defaultAction) .onSubmit { doSomething() }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Feb ’22
Reply to Is it possible that the device token for Push notification will change while the app is running?
Please mention a specific problem you're experiencing instead of being as clear as mud. As the documentation outlines it will call the method mentioned if there is a change while the app is running or the next time the app launches. It is your responsibility to take the token and store it somewhere for use by your APNS backend sending server, or script any time a notification has to be delivered to the device.
Replies
Boosts
Views
Activity
Feb ’22
Reply to viewDidAppear() called before sceneDidBecomeActive() when app is run without Xcode?
You can't unless you get a job @apple to make the compiler changes.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Feb ’22
Reply to LandmarkRow.swift Cannot Preview in This File
See here: https://developer.apple.com/documentation/xcode-release-notes/xcode-13_3-release-notes Run this:  rm -rf "$TMPDIR/../C/clang/ModuleCache"
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Feb ’22