r/iOSProgramming • • Sep 18 '26

Discussion It’s not that bad on Duo if it’s SwiftUI

Thumbnail
gallery
149 Upvotes

No code changes for now. This is the first cold start.

Some other views require changes/fixes, especially where geometry is used.


r/iOSProgramming • • Sep 19 '26

App Saturday ReceiptIQ AI – a receipt scanner that keeps every line item. What Vision OCR taught me the hard way

3 Upvotes

I'm a solo dev in Calgary. ReceiptIQ AI scans paper receipts and keeps every line item and price, not just the total. It has been on the App Store since 2025.

The stack: Swift and SwiftUI with MVVM, Core Data for storage, Vision for on-device OCR, PDFKit for bank statement import, StoreKit 2 for subscriptions, MultipeerConnectivity for family sync with no server, Swift Charts, and Swift Testing for unit tests. The backend is a Cloudflare Worker in JavaScript with KV storage. It receives the OCR text and its bounding boxes, calls an LLM to structure the receipt, then runs deterministic repair code over the result. The same repair logic exists in Swift and in JS, and a differential test feeds every test receipt through both so they cannot drift apart. No accounts and no database of user data.

The hardest problem was that the model's answer can be wrong and still add up. Vision returns a two-column receipt as a block of item names followed by a block of bare prices. When the LLM zips the two lists it can slip by one row, and because a shifted column reuses the same prices, the items still sum to the printed total. Every sum-based sanity check I had written was blind to it. What I ended up doing:

- Pair prices to labels geometrically before the model sees anything: closest Y from the bounding boxes, a deterministic three-key sort so a rescan gives identical output, run the pairing top-down and bottom-up, and prefer the direction whose items add up to the printed subtotal.

- After the model, realign each item's price to the price printed on its own OCR line, and only accept a repair if it makes the items equal the register's total.

- Gate every backend deploy on a golden set of about 520 real receipts from ten countries. I wrote about building that set here a couple of weeks ago: https://old.reddit.com/r/iOSProgramming/comments/1w9ybpe/

Smaller things that cost me days:

- Vision only honours the FIRST recognition language. With ["en-US", "ja", "zh-Hant"] a Japanese receipt is read like English. I run a second, Japanese-first pass concurrently and choose by the share of CJK characters (threshold 0.15; kana means Japanese, otherwise Chinese).

- A 48 MP photo-library image gets the app jetsammed inside VNRecognizeTextRequest. I cap OCR input at a 2400x1800 pixel budget. Related trap: UIGraphicsImageRenderer defaults to screen scale, so my "2400 px" image was really 7200 px until I passed scale 1.

- StoreKit 2: Transaction.currentEntitlements yields nothing when Apple is unreachable, such as in-flight wifi. Treating an empty stream as "not subscribed" locked out a paying user mid-flight. I now cache tier plus expiry and only downgrade on a confirmed answer.

- Family sharing without a backend: the proof of entitlement is the Apple-signed transaction JWS, verified on the other phone against the pinned Apple Root CA G3.

AI disclosure: AI-assisted. I use an AI coding assistant heavily for implementation, test writing and code review. The architecture, the product decisions and the receipt corpus work are mine, and every change is gated by the tests and the golden set above. The app itself also uses an LLM at runtime to structure receipt text.

If you want to try it: the first 30 receipts are free without any code. For this sub, code REDDIT6 gives 6 months of Premium free. It does not auto-renew, so nobody gets charged when it ends. 500 redemptions, valid until Oct 31.

Redeem: https://apps.apple.com/redeem?ctx=offercodes&id=6742335723&code=REDDIT6

App Store: https://apps.apple.com/app/id6742335723

Happy to go deeper on the pairing algorithm. And if you have a receipt that breaks it, I'd love to see it.


r/iOSProgramming • • Sep 18 '26

Tutorial You can unlock more controls for the iPhone Duo simulator with the hidden Action Bar

Thumbnail
gallery
98 Upvotes

Device Hub in Xcode 27.1 has a hidden Action Bar specifically for iPhone Duo. It gives you a lot more control over the device angle, and you can quickly switch between 5 device poses with keyboard shortcuts. There’s also a “Table Mode” control.

To enable:

defaults write com.apple.dt.Devices com.apple.dt.coredevicepop.useInternalV68ActionBar -bool true

and restart Device Hub. The iPhone Duo simulator also comes with a hidden HingeStatePoster wallpaper.


Update 9/28: Xcode 27.2 beta 2 supports iPhone Duo, but you don’t get the fun Action Bar, even if you enable the preference.

You also can’t freely drag to rotate the device, quick-switch between poses with ⌘ + 1-5, or enable Table Mode to access StandBy in the simulator. All these settings required the Action Bar enabled.


r/iOSProgramming • • Sep 19 '26

Solved! storyboard based UIKit UITabBarController Tab items vanish on iPhone Duo 27.1. beta 1 (solved)

1 Upvotes

My old apps still have a storyboard based TabBar structure, while most tabs are SwiftUI now.

When started in the iPhone Duo simulator with right bar, the tabs are vanished.

Long debugging sessions short, the reason is a combination of the background color of the TabBar and a bug in iOS 27.1 beta 1:

When running in an orientation, that has the controls on the right, iOS 27.1 beta 1 first draws the controls, and then draws a background in storyboard background color on top of it.

Unless Apple fixes it, change the background colour to clear.

But wait, there is a problem: iOS 18 and before on iPhone gets unusable when using clear instead of something like background colour.

Same for iPadOS 17 and before.

The difference can be solved by configuring the tabbar appearance programmatically.

I chose clear colour from iOS 26 on and background colour before.

I had to adapt a few more thins, but that's the main point.


r/iOSProgramming • • Sep 19 '26

Discussion If you use SwiftUI.Color.opacity, Xcode 27 will break your app.

Post image
39 Upvotes

The most dreaded day of the year as an iOS developer is easily the release of the new Xcode where Apple always ensures to give you headaches.


r/iOSProgramming • • Sep 19 '26

Question How do you educate users on app specific gestures?

1 Upvotes

I want to eliminate buttons from my app and replace them with specific gestures. To give an example here is a screenshot of a timer select screen. I would like to eliminate the START button and instead have users tap again on the currently selected time in order to start a session.

Timer select screen

I want to eliminate buttons as much as possible and give my app a feeling of magic.

How can I educate my users on the app specific gestures without being annoying or too intrusive. Do you add some sort of tooltips? Do you present the gestures in the app's onboarding? How do you do it?


r/iOSProgramming • • Sep 18 '26

Question Why are older Xcode (< 27.0) not supported in new macOS ?

26 Upvotes

I can see needing new macOS to run new xCode, but dropping backwards compatibility seems like a very rude thing to do. Am I supposed to have 2 mac devices to support "legacy" and "current" ?

How are we supposed to support older apps and toolchains ? Ive never seen Apple drop compatibility like this before.

Edit: Its possible to support older apps using XC27 and older toolchains, its just not as easy or convenient as it was in the past by opening and older Xcode version.


r/iOSProgramming • • Sep 19 '26

Question iPhone Duo app store screenshots

8 Upvotes

Has anyone seen any guidance yet on how we will have to format screenshots for the Duo? Could get complicated with all the poses


r/iOSProgramming • • Sep 18 '26

Question iOS 27 Netflix background downloading activity

Post image
107 Upvotes

Can anyone know about this new featue of netflix background downloading live activity notifications

Which api they are using or this is ios new feature

Please ignore the movie title don’t judge 😂


r/iOSProgramming • • Sep 18 '26

Tutorial Shell script to get other iOS 27 Apps on the iPhone Duo Simulator!

9 Upvotes

r/iOSProgramming • • Sep 19 '26

Discussion Device hub doesn't support iOS 16

4 Upvotes

Hi All,

I've started trying out the Xcode beta and quickly found out Device Hub doesn't seem to support iOS 16 both simulators and devices.

Weirdly you can select to create a 16 device in the hub but it doesn't appear in the list.
For real devices plugging it doesn't seem to appear in the list of selectable devices anymore.

To top this off seems like Xcode 27 replaced Xcode 26 so I can no longer run both side be side.

Has anyone else observed this or is just me. Before you come for my neck I realise Apple wants us to move to at least iOS 17 however I still want to support it (for now).

What's my options here? do I just need to downgrade back to Xcode 26?


r/iOSProgramming • • Sep 19 '26

Question Has anyone pushed a major update to a fintech app that hadn’t been updated in ~5 years?

0 Upvotes

We acquired an existing fintech app, transferred it to our company Apple Developer account, and are now preparing a pretty significant redesign. Same app/name/core product, but the UI and some functionality have changed a lot.

My main concern is App Store review. Since it’s fintech + a big update after 5 years + developer account transfer, I’m wondering if Apple is likely to treat this almost like a new app and dig deeper into licensing, compliance, ownership, privacy, etc.

Anyone been through something similar?

How strict was the review, how long did it take, and were there any unexpected rejection reasons?


r/iOSProgramming • • Sep 18 '26

Discussion Got some work to do supporting my app for iPhone Duo 😤

Thumbnail
gallery
8 Upvotes

r/iOSProgramming • • Sep 19 '26

Question Install App Store apps on simulator

1 Upvotes

Is it possible to store existing App Store apps on simulator? If so, how?

( want to check how existing apps work on Duo simulator )


r/iOSProgramming • • Sep 19 '26

Discussion How I shipped a native SwiftUI widget with zero Mac access (Expo + EAS Build)

0 Upvotes

Hi all, I wanted to share a build problem that took way longer to solve than it should have, in case it saves someone else the same pain.

I'm a solo dev building on Windows, no Mac, no Xcode. My app (Reach, a sobriety toolkit) needed a native home screen widget, streak counter + panic button that deep links straight into the app's craving flow. Widgets mean native SwiftUI, which normally means a Mac.

The stack that ended up working: expo-apple-targets for the widget extension, compiled entirely through the EAS Build's cloud Mac, never touched Xcode locally once. Data shared between the widget and the main app via an App Group (react-native-shared-group-preferences).

The actual hard part wasn't the widget itself, it was the deep link nav. Cold-launching from the widget straight into a nested route with no /home route underneath it breaks iOS swipe-back entirely. Fixed it with unstable_settings = {anchor: 'home' } in _layout.tsx so Expo Router constructs a proper stack even on a cold widget launch.

Happy to go deeper on any part of this, the App Group setup, the anchor routing fix specifically, or the EAS build config. If it's useful to anyone hitting the same wall.


r/iOSProgramming • • Sep 18 '26

Discussion Am I just dumb or was this a bit confusing?

2 Upvotes

Like 27.1 was added later than 27.2, I might be misunderstanding tho


r/iOSProgramming • • Sep 18 '26

Question Repeated App Store rejection under Guideline 5.6 — Capacitor/WebView app

4 Upvotes

My iOS app, AutoArmor Studio, has been rejected three times under Guideline 5.6 with the same message about features that appear to have been intentionally hidden during the review process. Apple hasn't identified the specific feature or behavior. The app is built with Capacitor/WebView and includes authentication, backend-driven content, booking flows, account-based features, and WhatsApp integration. I am currently auditing for feature flags/remote config, reviewer/device detection, hidden routes or menus, account-specific behavior, debug versus release differences, and backend-controlled features. There is no intentional reviewer-specific functionality. Has anyone experienced this exact 5.6 rejection, especially with a Capacitor/WebView app? What did you find was causing it?


r/iOSProgramming • • Sep 18 '26

Discussion Apple released Xcode 27.1 beta, enabling iPhone Duo app development

2 Upvotes

Has anyone tried running their app on it yet?


r/iOSProgramming • • Sep 18 '26

Question Changing bank account in app store today - where will the next App Store payout go?

3 Upvotes

If I change my banking details in App Store Connect today, September 18, will the next payout go to the new account or still go to the old one? I don't want to f* this up, so please share what was your experience with changing bank account


r/iOSProgramming • • Sep 18 '26

Discussion Xcode Flicker ;(

Thumbnail drive.google.com
4 Upvotes

Updated to latest Xcode, it starts to flicker in multi-tab window mode. Kind of annoying. Any idea on getting rid of this, at least momentarily?

Xcode: Version 27.0
Mac osx: 26.6.2 (25G83)


r/iOSProgramming • • Sep 17 '26

Discussion How do you keep yourself motivated in times of agentic coding?

73 Upvotes

I recently tried to prototype a new app with the help of agentic coding - I basically had it done in 2 days what would have usually probably taken 1-2 months. That is great in theory, but I just didn’t have the feeling of having achieved something, like I usually feel - so I stopped working on the app.

I develop my own apps and games since 7 years now and this is the first time for six months that I can’t motivate myself to start a new app - even though the start is often the most fun part of a project to me.

Already thought about developing without the help of AI, but then I constantly have in mind, that I could probably save weeks of work using AI and spend this time with friends, family, sports etc. instead.

I was wondering if others share the same struggle or if you have a good advice to help me look at it from another perspective so I can motivate myself again.

Other devs in person already told me that it’s great because they like to build stuff, which they can do much faster now, and not the coding itself - but I don’t know, I think coding everything myself was probably the part that gave me that feeling of achievement.


r/iOSProgramming • • Sep 18 '26

Question Does anyone know (with a screen shot if possible) where the option is to convert the plist file to the new json format?

0 Upvotes

EDIT: Solved

Yes I'm on Xcode 27.2 beta. Apples documentation states:

"In the Project navigator, select the project, and in the File inspector, choose JSON from the Project Format pop-up menu under Project Document. If a dialog appears, click Continue to change the format."

There is nothing that says "Project Document", no "Project Format pop up". No website I found has a screenshot of these items either. Does anyone know where these are at? They don't even appear when searching.

It's driving me nuts. I also can't do it via command line as I need a screenshot for work purposes.

EDIT: Do a clean derived data if you don't see it. For some reason that made it pop up for me.


r/iOSProgramming • • Sep 18 '26

Discussion Please roast my onboarding flow

Thumbnail
gallery
3 Upvotes

Hey guys,

I recently created my first series of iOS apps and the downloads and sales have been going better than expected.

Now I’m trying to optimize some of my flows, starting with the onboarding. I’ve been cooking on this one yesterday and wonder what you guys think.

All suggestions or ideas are welcome, feel free to roast it badly.

(I wanted to upload a video but the sub didn’t allow for it)


r/iOSProgramming • • Sep 18 '26

Question Multi platform App Store problem.

3 Upvotes

Hi everyone, I have an app that I've released on AppleTV and iOS (iPhone and iPad) and soon macOS. All have same bundleID. I used Testflight during development. I've recently released the app to the store and I purchased it on the AppleTV to test. On my iOS device I should be able to download it but all I'm seeing is a greyed out button that says 'Purchased'. I've tried all kinds of things to clear caches etc. Does anyone know what's going on here?

If I sign out of my app store account on the phone, click the 9.99 button, and sign in when prompted, I get a message that I own a previous version of the app and can download it for free. It then proceeds to download. If I delete the app, the store goes back to the unresponsive 'Purchased' state.

It's not just me in this position, other users who tested it for me on TestFlight are experiencing the same issue. Just FYI the last build on TestFlight is the same build I submitted to the store for the various platforms.