Post

Replies

Boosts

Views

Activity

Why is this crashing?
Whenever I run this code, after I have purchased something and it shifts up after leaving and reopening the page it crashes with the error "Index out of range". Code - https://developer.apple.com/forums/content/attachment/86665b01-4c50-47bd-a14d-ef95b58db511 Ideas? Thanks in advance! Ps: I can provide full project if needed.
17
0
1.9k
May ’21
IAP Restore
Hi, In my app, I do all the validation locally and the documentation doesn't explain how to restore purchases when the app restores everything locally. Here is my code. Thank you for your time. Code - https://developer.apple.com/forums/content/attachment/f7000d1d-5901-4758-8b91-d4f2b3dc5a3f
0
0
633
May ’21
Why is this clearing?
This is driving me crazy. I have this code: Utilities.getKnockKnockJokes {             self.previousKnockKnockJoke = self.currentKnockKnockJoke             print("currentKnockKnockJoke = \(self.currentKnockKnockJoke)")             self.currentKnockKnockJoke = KnockKnockJokes.knockKnockJokes.randomElement()!             print("newCurrentKnockKnockJoke = \(self.currentKnockKnockJoke)")             self.singleServeText.text = self.currentKnockKnockJoke         } The function that is called is bellow: getKnockKnockJokes Thank you in advanced!
3
0
568
Jul ’21
Lost Connection
I have an M1 Mac and I am on Monterey beta 4. I have Xcode 12 and whenever I try to run my iOS app on my Mac natively, I get this error message. Could not attach to pid : “4837” Lost Connection Full Log Any Ideas? Thanks in advanced
4
0
1.8k
Nov ’21
Notifications and ViewControllers
Hi, I am trying to make it so that my notification opens up the “The Riddle” View controller, but I can’t figure out how. Here is a link: https://www.icloud.com/iclouddrive/0PDX_ZK3kyamqHjV8-hlDhZbw#Riddle_Wednesday Thanks in advance!
Replies
5
Boosts
0
Views
1k
Activity
May ’21
Why is this crashing?
Whenever I run this code, after I have purchased something and it shifts up after leaving and reopening the page it crashes with the error "Index out of range". Code - https://developer.apple.com/forums/content/attachment/86665b01-4c50-47bd-a14d-ef95b58db511 Ideas? Thanks in advance! Ps: I can provide full project if needed.
Replies
17
Boosts
0
Views
1.9k
Activity
May ’21
Wait until transaction is finished
Hi, How can I wait until an IAP transaction/restore is finished? Thanks in advanced.
Replies
15
Boosts
0
Views
2.1k
Activity
May ’21
IAP Restore
Hi, In my app, I do all the validation locally and the documentation doesn't explain how to restore purchases when the app restores everything locally. Here is my code. Thank you for your time. Code - https://developer.apple.com/forums/content/attachment/f7000d1d-5901-4758-8b91-d4f2b3dc5a3f
Replies
0
Boosts
0
Views
633
Activity
May ’21
Search Function
Hi, I have a firebase database and was wondering what the best way to search it with keywords would be. I am making a jokes app and would like to add this functionality.
Replies
1
Boosts
0
Views
534
Activity
Jun ’21
Sharesheet and iPads
Hi, I have a share sheet and in the simulator (I don't have an actual iPad) the share sheet will not show. Code Thanks in advanced!
Replies
1
Boosts
0
Views
1.2k
Activity
Jun ’21
Why is this loop not working
Hi, I have this code accessing firestore and my loop for getting multiple sets of data. Code Thank you in advanced!
Replies
2
Boosts
0
Views
603
Activity
Jun ’21
Xcode 13
Hi, Whenever I am extracting Xcode 13 beta 1, it gets stuck at the end. Has anyone else had this issue?
Replies
0
Boosts
0
Views
433
Activity
Jun ’21
iCloud Keychain
Hi, How do I save to the iCloud Keychain from my app? I can't seem to find anything anywhere that isn't the equivalent of UserDefaults.
Replies
0
Boosts
0
Views
586
Activity
Jun ’21
Why is this clearing?
This is driving me crazy. I have this code: Utilities.getKnockKnockJokes {             self.previousKnockKnockJoke = self.currentKnockKnockJoke             print("currentKnockKnockJoke = \(self.currentKnockKnockJoke)")             self.currentKnockKnockJoke = KnockKnockJokes.knockKnockJokes.randomElement()!             print("newCurrentKnockKnockJoke = \(self.currentKnockKnockJoke)")             self.singleServeText.text = self.currentKnockKnockJoke         } The function that is called is bellow: getKnockKnockJokes Thank you in advanced!
Replies
3
Boosts
0
Views
568
Activity
Jul ’21
Lost Connection
I have an M1 Mac and I am on Monterey beta 4. I have Xcode 12 and whenever I try to run my iOS app on my Mac natively, I get this error message. Could not attach to pid : “4837” Lost Connection Full Log Any Ideas? Thanks in advanced
Replies
4
Boosts
0
Views
1.8k
Activity
Nov ’21
Supporting Alternate App Icons
Hi, My app used to support alternate icons and now all of a sudden it does not anymore. Info.plist Thanks in advanced!😉
Replies
2
Boosts
0
Views
679
Activity
Aug ’21
Title and Description ShareSheet
I have this share sheet code and I am trying to figure out how to edit "Plain Text". ShareSheet Code
Replies
2
Boosts
0
Views
6.5k
Activity
Aug ’21
IAP SkProduct issue
Hi, I have this code and the guard let storekitProduct is always returning nil, no matter what and is therefore quitting the function. How do I fix this? Thanks in advanced! Code
Replies
1
Boosts
0
Views
670
Activity
Aug ’21
IAP Issue
I just launched my app on the App Store and the in app purchases aren't working. Any Ideas? Code Thanks in advanced!
Replies
0
Boosts
0
Views
549
Activity
Aug ’21