Post

Replies

Boosts

Views

Activity

Reply to What to do when another developer uses your App's name?
Yes, I also get support questions from people who have apps with very similar names to mine. Some differ only by punctuation. Claude, the users just Google something like "AppName* support" and it finds my AppName support web page with email link, rather than a page for "AppName*". The only real difficulty is that sometimes it takes me a while to work out that they are describing a different app. Now I often ask "Please send a screenshot" straight away. Apple don't, as far as I am aware, make any promises about app name uniqueness. In particular, if your name is purely a description of what the app does (as Camera Lucida seems to be), then you can expect other apps with the same functionality to use very similar names. There isn't a solution to this. You just have to live with it. Maybe next time, choose a more fanciful name that you can register as a trademark.
Aug ’22
Reply to how to check if a coordinate(CLLocationCoordinate2D) lies on a route using MapKit ?
P.S. I should have said that you can't just use latitude and longitude values with that code, for a couple of reasons: one degree of latitude is not the same distance as one degree of longitude, except at the equator, and bad things happen at the poles and in the middle of the Pacific. The best thing to do is to convert from lat-lon to geocentric (xyz) coordinates first. Good news: the pseudo-code I posted works equally well for 3D geocentric coordinates as for 2D.
Topic: Programming Languages SubTopic: Swift Tags:
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
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 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 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 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 What to do when another developer uses your App's name?
Yes, I also get support questions from people who have apps with very similar names to mine. Some differ only by punctuation. Claude, the users just Google something like "AppName* support" and it finds my AppName support web page with email link, rather than a page for "AppName*". The only real difficulty is that sometimes it takes me a while to work out that they are describing a different app. Now I often ask "Please send a screenshot" straight away. Apple don't, as far as I am aware, make any promises about app name uniqueness. In particular, if your name is purely a description of what the app does (as Camera Lucida seems to be), then you can expect other apps with the same functionality to use very similar names. There isn't a solution to this. You just have to live with it. Maybe next time, choose a more fanciful name that you can register as a trademark.
Replies
Boosts
Views
Activity
Aug ’22
Reply to how to check if a coordinate(CLLocationCoordinate2D) lies on a route using MapKit ?
P.S. I should have said that you can't just use latitude and longitude values with that code, for a couple of reasons: one degree of latitude is not the same distance as one degree of longitude, except at the equator, and bad things happen at the poles and in the middle of the Pacific. The best thing to do is to convert from lat-lon to geocentric (xyz) coordinates first. Good news: the pseudo-code I posted works equally well for 3D geocentric coordinates as for 2D.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
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:
Replies
Boosts
Views
Activity
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.
Replies
Boosts
Views
Activity
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:
Replies
Boosts
Views
Activity
Aug ’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:
Replies
Boosts
Views
Activity
Aug ’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.
Replies
Boosts
Views
Activity
Jul ’22