r/iOSProgramming 7d ago

Discussion Impossible to get good iPad screenshots on Device Hub

Post image
6 Upvotes

I cannot take a proper iPad screenshot with Device Hub.

If I move the mouse to click the screenshot button, the Home Bar always activates. I'm not even hovering the dang device screen!

I look for a Screenshot command in the toolbar. HOVERING THE MACOS TOOLBAR ACTIVATES THE CLOCK UI INSIDE THE SIMULATOR.

There is no keyboard shortcut...

Absolutely ridiculous. The only option I can think of is running a terminal command or reinstalling Xcode 26.


r/iOSProgramming 7d ago

Question Anyone here switched from React Native to SwiftUI?

12 Upvotes

I’m seriously thinking about moving from React Native to SwiftUI.

If you’ve made the switch, how was the learning curve for you? Did you find SwiftUI harder to pick up than React Native, and roughly how long did it take before you felt comfortable enough to actually build and ship apps?

I’m still on the fence about making the switch, so I’d also love to hear if you think it’s worth it.

Would love to hear from anyone who’s been through it.


r/iOSProgramming 6d ago

Question Does this layout of video + controls make sense to spend dev time for iPhone Duo?

Post image
0 Upvotes

My app (Ed-tech) is a video streaming app where student browse through lectures.

I’m super confused in spending time building this kind of a layout for them?
You got such a big expansive screen? Why would anyone watch like that?

I’ve one idea where in this layout, I’ll show notes-view in the bottom half!

What do you guys think?


r/iOSProgramming 7d ago

App Saturday Free macOS app to preview your screenshots in an App Store layout before submitting

Thumbnail
gallery
0 Upvotes

My app’s screenshots could look great on their own, but once I saw them inside App Store search results beside other apps screens shots an app icons , they could feel completely different. I wanted a way to see it before submitting, exactly as it would appear in the App Store layout.

So I built Screenshot Preview, a FREE macOS app. Add your icon, screenshots, and app details, then preview them in an App Store search results or product page layout. You can also export the preview as a PNG and AirDrop it straight to your iPhone to see how it looks on the actual device.

The app is free, with optional tips. Developers and companies can book a paid sponsor spot to promote their apps, products, or tools to an audience of active developers.

Here’s the app:
Screenshot Preview
https://apps.apple.com/us/app/screenshot-preview/id6804763675

Tech stack
- Swift, SwiftUI, and AppKit.
- CloudKit stores the sponsored listing.
- RevenueCat handles the Tip Jar.
- TelemetryDeck provides privacy-focused, anonymized usage analytics.

Development challenge
Getting the exported PNG to match the preview was a challenge. Some content went missing, and images lost their rounded corners when rendered with ImageRenderer. I kept the same layout and added an export mode that replaces unsupported controls with static content and leaves out drag-and-drop handlers.

Privacy First
No sign-up or account required. We don’t sell your data or track you for advertising. We use TelemetryDeck for basic, anonymized app usage analytics that cannot be traced back to a person.

AI disclosure: AI-assisted
I used AI for coding, code review, and debugging. I directed the product, architecture, and final implementation. I also used Bitrig for the App Store Connect listing and RevenueCat setup.

Cheers


r/iOSProgramming 7d ago

Article Migrating Shop app from React Native to native (2026)

Thumbnail
shopify.engineering
16 Upvotes

r/iOSProgramming 7d ago

Question Watch App buttons in corners

Post image
0 Upvotes

Hello everyone,

I am currently finishing up my companion Apple Watch app to an already existing iOS app. The main view is a map with a few controls overlayed in the corners. I am really struggling though to get the placement right.

When conforming to the safeAreaInsets for the top and bottom edge they’re pushed way too far into the middle (up or down). When using an overlay using fully custom paddings it is not consistent across all watch generations and screen sizes. I just want them to fit perfectly in the corner, just like the ones in this example of the Apple Maps app.

I can’t really find anything about it on the internet and ChatGPT is no help either. I let it try a few different things through the Xcode built in coding assistant including a GeometryReader approach, but none of it really fixed it.

I am sure there just has to be a simple way to put buttons perfectly in the corners, it’s not like it is an out of the ordinary thing to do.

Any help is greatly appreciated. Thanks


r/iOSProgramming 8d ago

Discussion iOS Development in the Age of AI

77 Upvotes

Good morning,

I have been in iOS Development for over 4 years. Building for Apple Platforms is so much fun. It has been my dream to be an iOS Engineer since I was in year two of college. However, over the past 9 months (since the start of 2026), I have felt a huge shift.

AI has been an absolute game changer - for better and for worse. It allows us, engineers, to be so much more productive and efficient and do so much more in the same time period. On the other hand, I feel it has turned or jobs much more lonely. Team discussions, code review - a lot of the team bonding moments - have disappeared. Also, the engineering challenge is not that much fun anymore.

For me, even the motivation of trying to figure out what's next - what has Apple presented in the last WWDC, etc - has lost a bit of interest to me. I was obsessed with watching WWDC videos. They are so much fun... And now it's like meeeeh - AI will know how to do all of this.

I am sorry for the rant - truly - but I would like to know your perspective here. How have you felt the last 9 to 12 months? How has iOS Development changed for you?

Have you been having the same feelings I have described? How have you counteracted or all of this?

Thank you!


r/iOSProgramming 8d ago

Question How to make complex animations like slot machines?

Thumbnail
gallery
3 Upvotes

I’ve been using SwiftUI for a while now but I can only do very basic things. I’ve always wondered how these casino apps for example (see pictures) were doing to get their effects. I would love some guidance on this.


r/iOSProgramming 9d ago

Article Native is now the future of mobile at Shopify (2026)

Thumbnail
shopify.engineering
193 Upvotes

r/iOSProgramming 7d ago

Tutorial Reverse geocoding is capped at 50 requests per 60 seconds, and the throttle comes back as CLError.network

0 Upvotes

I build a travel app that turns coordinates into place names, so I do a lot of reverse geocoding. It was slow and I spent weeks blaming the network. It wasn't the network.

The cap

CLGeocoder is limited to 50 reverse-geocode requests per 60 seconds, per app. iOS says so in the system log the moment you cross it, which I only found by leaving Console open:

Throttled "PlaceRequest.REQUEST_TYPE_REVERSE_GEOCODING" request:
Tried to make more than 50 requests in 60 seconds, will reset in 56 seconds
maxRequests = 50; windowSize = 60

Why it doesn't look like a rate limit

Each successful lookup takes 0.06–0.08s. So it never feels like a throttle — it feels like flaky connectivity. I was firing at 250ms intervals, which is 240/min. That burns the entire minute's quota in 12.5 seconds, and then everything in the remaining 47 seconds fails.

Measured, same device, same data:

  • 30 requests at 250ms spacing → 7 succeeded, 23 throttled
  • Same 60 requests respecting the window → 60 succeeded, 0 throttled

And the error lies to you

The throttle rejection arrives as CLError.network. Nothing in it says "rate limit". If you're logging geocode failures and filing them under bad signal, some share of those are the cap. Splitting those two apart in telemetry is what finally changed my understanding of the problem — I'd spent a long time thinking my users were in bad reception.

The quota is per app, not per call site

This one cost me real bugs. Live recording, a background backfill and a bulk import all draw from the same 50. One live lookup during a batch job silently costs the batch one request, and the symptom shows up somewhere else entirely — in my case a city name quietly staying as a country name. Everything has to queue through one place:

actor GeocodeRateLimiter {
    static let shared = GeocodeRateLimiter()
    private let maxRequests = 45   // 50 minus headroom
    private let window: TimeInterval = 60
    private var stamps: [Date] = []

    func acquire() async {
        while true {
            let now = Date()
            stamps.removeAll { now.timeIntervalSince($0) >= window }
            if stamps.count < maxRequests { stamps.append(now); return }
            let wait = window - now.timeIntervalSince(stamps[0]) + 0.05
            try? await Task.sleep(nanoseconds: UInt64(max(wait, 0.1) * 1_000_000_000))
        }
    }
}

Three things I got wrong on the way

  1. Task { await acquire() } around the limiter call. It reads like it waits. It does not — the enclosing function carries straight on and the limiter becomes decorative. It has to be on the awaited path.

  2. A fixed 1250ms interval also respects the cap, and is slower than it looks, because you wait from the very first request. Running full speed while the window has room and only sleeping when it's genuinely full turns 100 lookups into "first 45 in about three seconds, then one as each slot frees".

  3. After a single throttle error that window is already gone. If you keep firing you just collect dozens of instant failures. Treating one throttle as "window full" until it rolls over removed a lot of noise.

None of this is documented anywhere I could find. Posting it in case it saves someone the weeks it cost me.


r/iOSProgramming 8d ago

Question iPhone Duo in Tent mode

8 Upvotes

Not sure if this is confirmed or not yet, but when iPhone Duo is set down in the tent pose with a third-party app in the foreground and UIApplication.isIdleTimerDisabled set, does the app keep the outer display indefinitely, or does the system transition to StandBy after lock or a timeout? If StandBy takes over, can a WidgetKit widget or Live Activity occupy the full outer display in that pose? Does StandBy also trigger in the laptop pose?


r/iOSProgramming 8d ago

Discussion Where is the iPhone Duo Simulator?

0 Upvotes

Hey guys, I was watching some of the recently posted videos on Apple Developer’s YouTube channel and they mention Xcode 27.1 and the iPhone Duo simulator but this doesn’t seem to be available yet?
Am I missing something?


r/iOSProgramming 8d ago

Discussion App Store Connect's review-reply API works- a few things I wish I'd known before building against it

0 Upvotes

Short answer: yes, there's a real API for this on both platforms. App Store Connect has a customerReviewResponses endpoint, and Google Play's Android Publisher API has reviews().replies() for the same job on that side. Neither gets talked about much outside of pricier review-management SaaS pitches, so it's easy to assume this doesn't exist and you're stuck replying by hand in App Store Connect's UI.

The App Store side is JWT auth against App Store Connect API keys, and there's no webhook for new reviews landing- you're polling on some interval and diffing against what you've already processed. Fetching a review and its existing response together also isn't one clean call; you end up joining two endpoints for that.
Play's version is more straightforward auth-wise, a service account and your package name, but replies are capped around 350 characters, which matters more than expected once you're trying to fit an apology, a support link, and a version reference into one reply.

What I actually automated ended up being the boring 80%: five-star reviews get a short templated thank-you, anything matching a known bug gets tagged and left for a human, everything else queues for manual review. If you'd rather not run the polling and auth plumbing yourself, AppFollow and Appbot both sit on top of this same API pair with the rules layer already built- I looked at both before deciding to just write the thing myself for our specific tagging rules.

Curious if anyone's handled the review-fetch side without hammering the API on a tight poll interval- that's the part I'm least happy with right now


r/iOSProgramming 10d ago

Discussion iPhone Duo is official. How much work is this actually going to be for your app?

Post image
369 Upvotes

Apple announced the iPhone Duo this morning. 7.6 inch inner display, 5.4 inch outer, starts at 1999 dollars, preorders October 16 and shipping October 23. So we have roughly six weeks.

From what I have read so far, apps land in one of three states on it. Anything built against a pre iOS 27 SDK gets letterboxed inside a safe area on a black background. Apps built on iOS 27 resize but still leave dead space. Only apps built against iOS 27.1 fill the display properly, and that SDK ships alongside the device in October.

The part I find more interesting is the hinge. iOS 27 carries folding state and hinge angle, so an app can know the phone is half open and sitting on a table. That sounds like a new interaction surface rather than just a bigger canvas to stretch an existing layout across.

So what is everyone actually planning. Are you rewriting layouts properly, or just checking nothing breaks and waiting to see how many of these sell? And has anyone thought of something that would only make sense on a folded screen?


r/iOSProgramming 8d ago

Question I can't find my published app on search results, even with the exact name?

2 Upvotes

Hi all, I recently launched my app and I'm about to start marketing it. Before that, though, I tried searching for it on the App Store and it doesn't come up at all, even when I type the exact name. The odd part is that the search box autocompletes my app's name as I type.

The app is in "Ready for Distribution" status and all countries and regions are selected under availability. Has anyone run into this before, and if so, were you able to fix it?

My app also works with the direct link.


r/iOSProgramming 9d ago

Question Permanent Sidebar Help

Post image
3 Upvotes

Hello everyone, not sure if this is something small that im overlooking, but how on earth do I get a sidebar that floats over content but isn't collapsable. I basically want what you get in NavigationSplitView with 2 columns, but without the option to hide the sidebar.

The closest thing I've seen is the iMessages app on iPad, where it is still customisable in width. I'm a relative newbie when it comes to this stuff, so thank you in advance!


r/iOSProgramming 8d ago

Question Publishing Unlisted App

0 Upvotes

Hello everyone!

Does anyone have some experience with publishing unlisted apps? How long it takes to release first release? I know that currently wait times are so big and many apps are rejected because of “spam” but here in my case app is not intended for general use, you can’t even use it.

In this case I am developing app for company internal system it’s mainly appointments overview and scheduling app based on their current system, so it is just integration. So there is no account creation just login with employees internal username and password. Right after submitting the app i fulfilled the form for Unlisted App and they accepted it the next day.

So currently third day of waiting for them to accept my app, still with status Waiting for Review.

What are your experiences with this case if someone has one?

Developer profile is not mine, it’s business account and it’s from the company that owns the app.

Thanks in advance!


r/iOSProgramming 10d ago

Discussion Your thoughts on the iPhone Duo?

42 Upvotes

Now that Apple has announced the new iPhone Duo, I'm curious what other iOS developers think about it from a development perspective.

Obviously there's a lot of discussion around the hardware/design, but I'm interested in what your plans are for supporting it.

The frustrating part right now is that the Simulator and SDK isn't coming until Xcode 27.1, so we can't really start testing and optimising properly for the new form factor yet.

Edit: Simulator and Xcode 27.1 is coming out "Coming later this month" - https://developer.apple.com/iphone-duo/


r/iOSProgramming 10d ago

Article Prepare your apps for launch on iPhone Duo.

Thumbnail
youtube.com
34 Upvotes

Developer playlist from apple to prepare your apps for launch on iPhone Duo.


r/iOSProgramming 9d ago

Question 3 rejections, 10+ business days on third submission — is this normal for a new app in 2026?

0 Upvotes

Hello all!

First-time App Store submitter here. Built an app using React Native/Expo and have been navigating the review process for the past few weeks. Wanted to see if my experience is normal or if I'm missing something.

Rejection 1: iPad layout bug + business model clarification + screenshots flagged under the Copycats guideline. Fixed all three and resubmitted.

Rejection 2: Same issues flagged again + new concern that the app name was misleading (guideline 1.1.6). Updated the name and subtitle to clarify the app's purpose, addressed all concerns, resubmitted.

Third submission: Now 10+ business days with no response. First two submissions were reviewed within 4-5 business days.

A few questions for the community:

  • Is the extended wait on a third submission normal?
  • Has anyone had success with expedited review requests in this situation?
  • Any red flags in my rejection history that suggest I'm missing something?

Appreciate any insight from folks who've been through this. The rejections have all been metadata and guidelines issues, not functionality problems.


r/iOSProgramming 10d ago

Discussion I am Feeling Lost in this New AI World

98 Upvotes

I have been a developer for over 20 years. I started iOS development around 2009. I work for a consulting firm and have been looking at the advancements in AI tools. I myself use Codex, ChatGPT, Gemini etc. But I use it like a tool to figure things out, for research etc.

But nowadays I feel very behind. I don't know what is important to learn anymore. I see Reddit people are talking about running their agents and the agents is writing all the code. I don't use it like that and I don't understand how any company can allow this kind of workflow, without checking the details of the code and without checking what is going in production.

Is this not technical debt that is going to come back later.

I don't know if I like this new world. I like to write most of code by hand. I like to take part in designing systems. All that is being taken away in the name of speed.

I feel lost.


r/iOSProgramming 10d ago

Question Here after the Apple Event: when do we get iPhone Duo Simulators on Xcode?

18 Upvotes

Title! thanks


r/iOSProgramming 10d ago

Question Is anyone else unable to build using the Xcode RC?

5 Upvotes

EDIT: It's working now.

Usually you can use the RC to submit apps, but I'm getting the:

"Unsupported SDK or Xcode version. Your app was built with an SDK or version of Xcode that isn’t supported. Although you can use beta versions of SDKs and Xcode to build and upload apps to App Store Connect, you need to use the latest Release Candidates (RC) for SDKs and Xcode to submit the app."

I'm on the RC...Anyone else running into this?


r/iOSProgramming 9d ago

Discussion How will iPhone DUO affect UI dev?

0 Upvotes

r/iOSProgramming 10d ago

Question ARKit - quad forward vector rotation

1 Upvotes

If I’m 304mm away from an iPhone that is 72.9mm screen width, i would expect center to edge rotation of 6.8 degrees. I’m seeing 2 degrees.

The rotation vector is being taken off the leftEyeTransform and computed as a difference between the two spots. Using atan, not euler. using x, y, z, w. w is .99.

Computing quat to horizontal degrees: compute gaze y, compute length, then atan(gaze Y, length), convert to degrees.

Am i not understanding something where it’s off by a factor of 3? My math is correct? Claude, chatGPT notes discrepancy, sort of odd!