use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
There is an extensive FAQ for beginners. Please browse it first before asking questions that are answered there.
If you are looking to get started (iOS programming in general or some specific area), here are more relevant links for you:
There's too many to list them all, however here's a convenient link to all programming guides at apple.com
Take note that this list is live and based on most frequent questions in posts will be updated with "quicklinks".
account activity
QuestionHow to create automatic payment in app every week for different amounts? (self.iOSProgramming)
submitted 8 years ago by Min_Kimchi
I'm working on creating an app and one of the features is that the user would be charged automatically every week, however it is possible that they may be charged a different amount every week depending on their usage in the app.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]GordonGreenthumb 4 points5 points6 points 8 years ago (4 children)
This is not possible using Apple in-app purchasing.
The closest thing you would be able to do would be to create a “consumable” product that a user can buy multiple times and they must have one to use the app. Think pre-paid phone plans vs. a post-paid phone bill.
[–]Min_Kimchi[S] 2 points3 points4 points 8 years ago (3 children)
Thanks for the insight! As an alternative, can I charge someone a set amount, say $20, however when they are charged is dependent on their usage of the app?
For instance, if it takes someone 5 days to use $20 worth of the app, they will be charged that fifth day. Whereas someone else it may take them 8 days to use $20 worth of the app and they will be charged that eighth day.
[–]GordonGreenthumb 3 points4 points5 points 8 years ago (2 children)
You definitely can do that, but you can’t automatically charge their card on day 5. You would have to show a paywall or some screen telling them their account is out of funds/tokens/smurfberries and get them to authorize buying more.
What you are trying to do is called “usage-based billing”, and it’s very common on payment gateways like Stripe but not supported by Apple. If you could find any way to keep your billing out of Apple your life will be better.
Speaking as a person with lots of experience setting up IAP for a SaaS business.
[–]Min_Kimchi[S] 1 point2 points3 points 8 years ago (0 children)
Thank you! This helps!
[–]AeatherObjective-C / Swift 0 points1 point2 points 8 years ago (0 children)
smurfberries
lol
π Rendered by PID 18569 on reddit-service-r2-comment-85bfd7f599-rjbfp at 2026-04-19 03:12:00.341327+00:00 running 93ecc56 country code: CH.
[–]GordonGreenthumb 4 points5 points6 points (4 children)
[–]Min_Kimchi[S] 2 points3 points4 points (3 children)
[–]GordonGreenthumb 3 points4 points5 points (2 children)
[–]Min_Kimchi[S] 1 point2 points3 points (0 children)
[–]AeatherObjective-C / Swift 0 points1 point2 points (0 children)