Post

Replies

Boosts

Views

Activity

Reply to "Failed to produce diagnostic for expression; please submit a bug report and include the project"
Move the code below out of the toolbar list. This is not a toolbar type hence the error.  RoundedRectangle(cornerRadius: 7)           .fill(Color(.systemGray4))           .frame(width: 200, height: 299, alignment: .center)         VStack {           Text("New Folder")           Text("Enter a name for this folder")           TextField("Name", text: $newFolderName)         }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
May ’22
Reply to Unexpectedly found nil while unwrapping an Optional value
don't force unwrap let letterString = sender.title(for: .normal)! @IBAction func letterButtonPressed(_ sender: UIButton) {      // unwrap the optional response from sender.title(for:) else return from method  guard let letterString = sender.title(for: .normal) else { return } sender.isEnabled = false   let letter = Character(letterString.lowercased())      currentGame.playerGuessed(letter: letter)      updateGameState()   }    func updateGameState() {     if currentGame.incorrectMovesRemaining == 0 {       totalLosses += 1     } else if currentGame.word == currentGame.formattedWord {       totalWins += 1     } else {       updateUI() } }
Topic: Programming Languages SubTopic: Swift Tags:
Apr ’22
Reply to App use system language for location authorization dialog
Works as expected. The system alert is governed by the OS not the application preference.
Replies
Boosts
Views
Activity
May ’22
Reply to Is it possible to remove my app from devices i have installed it to using Ad-hoc
You have to wait for the expiration, next time use TestFlight or build a kill switch into the code.
Replies
Boosts
Views
Activity
May ’22
Reply to Keychain access control from the app with different names
Look into Keychain Sharing & App Groups under Signing & Capabilities in Xcode. Take a look at the documentation on its setup and usage scenarios.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
May ’22
Reply to Why was my app taken down?
Read here: https://developer.apple.com/support/app-store-improvements/
Replies
Boosts
Views
Activity
May ’22
Reply to Send notifications with APNs trough PHP
You can implement this https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server or use Google firebase, Azure, Opensource APNS or any APNS provider to deliver your messages.
Replies
Boosts
Views
Activity
May ’22
Reply to Unity Vuforia App Carsh on lunch on ipad ios 15
You will be better served on the unity support forums by providing unity a copy of your project to figure out the crash.
Replies
Boosts
Views
Activity
May ’22
Reply to In coredata and swiftUI, how can I get the objects that are related to an object that is related to the object I have
Read and study everything here: https://developer.apple.com/documentation/coredata and here https://developer.apple.com/documentation/swiftui/loading_and_displaying_a_large_data_feed
Replies
Boosts
Views
Activity
May ’22
Reply to Recommended device(s) for iBeacon calibration
Anything iOS 7 and later the dated documentation recommends.
Replies
Boosts
Views
Activity
May ’22
Reply to "Failed to produce diagnostic for expression; please submit a bug report and include the project"
Move the code below out of the toolbar list. This is not a toolbar type hence the error.  RoundedRectangle(cornerRadius: 7)           .fill(Color(.systemGray4))           .frame(width: 200, height: 299, alignment: .center)         VStack {           Text("New Folder")           Text("Enter a name for this folder")           TextField("Name", text: $newFolderName)         }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
May ’22
Reply to Unable to use DistributedNotificationCenter
Just make sure the playgrounds settings platform is configured for macOS and not iOS.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Apr ’22
Reply to "Provisioning profile "iOS Team Provisioning Profile: ***" doesn't include the com.apple.developer.contacts.notes entitlement.
Maybe you have to request access to this entitlement from Apple given sensitivity of the contents. https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_developer_contacts_notes
Replies
Boosts
Views
Activity
Apr ’22
Reply to How can I access collections and documents in Firestore?
This is not an Apple product & I recommend you ask any Google related API questions over at google here in one of their discussion options: https://firebase.google.com/community
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’22
Reply to Python
Python is preinstalled as version python3. This was mentioned a while back that version 2 was upgrade to 3.
Topic: Business & Education SubTopic: General Tags:
Replies
Boosts
Views
Activity
Apr ’22
Reply to Unexpectedly found nil while unwrapping an Optional value
don't force unwrap let letterString = sender.title(for: .normal)! @IBAction func letterButtonPressed(_ sender: UIButton) {      // unwrap the optional response from sender.title(for:) else return from method  guard let letterString = sender.title(for: .normal) else { return } sender.isEnabled = false   let letter = Character(letterString.lowercased())      currentGame.playerGuessed(letter: letter)      updateGameState()   }    func updateGameState() {     if currentGame.incorrectMovesRemaining == 0 {       totalLosses += 1     } else if currentGame.word == currentGame.formattedWord {       totalWins += 1     } else {       updateUI() } }
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Apr ’22