Post

Replies

Boosts

Views

Activity

Reply to Which receipt field is used for processing refunds for paid apps?
Is that local receipt validation, or server receipt validation? I think it's likely that server receipt validation will indicate a refunded purchase, though I don't know for sure. Local receipt validation, I'm pretty sure will still report a valid receipt after a refund; the user will continue to be able to use the app until they try to re-install it for some reason.
Jul ’22
Reply to Which receipt field is used for processing refunds for paid apps?
My app is an audiobook version of a book written by myself, I have only released it for about a month, currently only have 1 rating and no reviews, nor have I run any marketing campaigns. And it's a paid app? Well, it's possible that all those people buy it, start listening, and think "this is *****" and get a refund. BUT more likely at least some of them would also leave a bad review, and at least some of them would think "this is *****" but NOT get a refund - your graphs are almost perfectly symetrical, as if literally everyone is refunding it. I don't know how to explain that. In App Store Connect, it is possible to explicitly show refunds: App Store Connect -> Sales and Trends -> Select the app -> Click on "Transaction Type". This will separate out sales and refunds. Does that agree with the graph you've posted?
Jul ’22
Reply to How can I read "declaration" in Apple Developer Documentation?
when I look inside UITableView class scope by using "Jump to Definition" As a general rule, learning a language by reading the source of its standard library is a bad idea. For various reasons, system libraries in most languages often contain unusual constructs that should never appear in "normal" code. Swift is not the worst in this respect, but I would still advise using "Jump to definition" etc. only for navigating within your own code.
Topic: UI Frameworks SubTopic: UIKit Tags:
Jul ’22
Reply to In-App Purchase for multiple products
The app store connect API now allows you to create and modify IAPs programatically. So you can manage your own database of products, and automate the process of adding new ones to App Store Connect. I think there is a limit of 10,000 IAPs per app. But beware that very few apps have large numbers of IAPs so it's not unusual to discover bugs.... Of course the IAPs still have to be approved by Apple. I have an app with about 1,000 IAPs. In practice, if I submit a large batch of new IAPs Apple seem to test one of them, always the most expensive. It doesn't take a long time for the IAPs to be reviewed. (Mine are not subscriptions.) Your alternative is to sell "credits" and to manage the store yourself. This requires that your users have accounts with you, and you track which user has purchased which product on your server.
Jul ’22
Reply to how to check if a coordinate(CLLocationCoordinate2D) lies on a route using MapKit ?
I don't believe there is a method in MapKit to do this. You will need to implement it yourself. Unless you need it to be very fast, a simple algorithm where you consider each segment of the route in turn will work OK. Note that you will want to do an approximate match, i.e. find the closest distance from the point to the route and compare that with a threshold.
Topic: Programming Languages SubTopic: Swift Tags:
Aug ’22
Reply to Affiliate Platforms for iOS apps?
You can generate "campaigns". In App Store Connect, go to "App Analytics", choose the app, then "Acquisition", then "Campaigns". Click on (+). This will generate a "campaign link" which you can give to your partner web sites, and you'll be able to see what proportion of sales come via that link. Note I've never used this. I don't know if it is useful for paying commission to those partner web sites, or whether it's only useful for approximately measuring the effectiveness of a campaign. In particular, you need to check if Apple filter the data for privacy: a lot of features in App Analytics rely on the users opting in, and only a minority do so, and then Apple hide some stats if the numbers of users is below a threshold. Note if you do this, make sure that the partner web sites indicate somewhere that they are affiliates who get commission. This is a legal requirement in some places. (Edited to add: note that even without this, the Analytics page can show referring web sites and apps; I see for example that a small proportion of my sales come from Google searches, some from links shared on Facebook etc. The advantage of the "campaign" links is that if someone copies&pastes the link from your affiliate web site to e.g. an email, then you see the original affiliate as the source of the sale, not just "email".)
Topic: App & System Services SubTopic: StoreKit Tags:
Aug ’22
Reply to Is there a way pass the app review with a customizable game?
How can i pass the app review with this business model of mine? I doubt that you can. Frankly, the way to produce successful apps is (1) see what Apple allows, (2) implement something within those constraints. The alternative of (1) come up with a business idea, (2) try to square-peg-round-hole that into what Apple allows is doomed. Sorry to bring bad news. Best to change direction now I think. Can you implement your idea on the web? WebGL / WebGPU / Emscripten etc. get very close to native performance in my experience.
Aug ’22
Reply to how to check if a coordinate(CLLocationCoordinate2D) lies on a route using MapKit ?
can you tell me how can one find the closest coordinate of the route from the given coordinate ? Distance from a point to a line segment (pseudo-code): a and b are the ends of the line segment p is the point let V = b - a let W = p - a let c1 = dot_product(V,W) if (c1 <= 0) { // a is the closest point to p return magnitude(W) } else { let c2 = dot_product(V,V) if (c2 <= c1) { // b is the closest point to p return magnitude(b-p) } else { let f = c1/c2 let q = a + f*V // q is the closest point on the line ab to p return magnitude(q-p) } } My original reference for this method: http :// softsurfer.com/Archive/algorithm_0102/algorithm_0102.htm - but unfortunately is now 404s. Obviously you need to do this for each segment of the route, and find the minimum distance. P.S. don't post comments on this forum, post replies; I don't think it sends email alerts for comments.
Topic: Programming Languages SubTopic: Swift Tags:
Aug ’22