r/iOSProgramming • u/alanskimp • 15h ago
r/iOSProgramming • u/MyAugur • 10h ago
Article Development Lessons: App for Duo
A lot of newer indie and solo developers, including vibecoders, probably want an app that works on the Duo but, due to cost, may not have one. So here are some lessons from developing ahead of the Duo launch, with no device in hand.
We started development of Millpond which is a side-project of a more intentionally health-domain app that we have currently in-development. There were some features and approaches that we could do in a water tracker that I wouldn't want to test in a more health-data/sensitive app.
So in late Summer, about 6 weeks before the iPhone Duo shipped we forked and dedicated some time to it. Given it was going to be cross-platform it is largely a common Expo core, with native elements for Apple services, widgets, watch and notifications. We had 2 app revisions prior to launch, 1 to check branding on Apple services (Location, Health) and 1 because Duo screenshots had black bars to fill the size due to errors in the beta version of xCode for Duo - but that was at build 340 and with several non-dev test flight users.
One of the reviews took over a week just pre-launch of Duo. And ended up withdrawing that ourselves and resubmitted and got through 2 days later. We missed the Duo launch due to the delay, but went live shortly afterwards.
Summary: We logged 19 layout mistakes by folding and unfolding the simulator. The worst: the main screen collapsed to zero height because of a single number. The code looked fine, which is why it took a while to find. AI coding tools often don't flag that kind of bug for the same reason.
The device
The folded outer display is 466 x 678 pt. Unfolded, the inner display is 951 x 669 landscape: about (but not exactly!) twice the width at the same height. Your app has to survive the switch mid-session, with the user watching.

Our lessons: what you'll see, and what to do (or tell your coding agent to do)
| You'll see | Because | Paste this |
|---|---|---|
| The main screen is squashed or empty on the folded display | The tab bar became a side pill, and its height now reads as the whole screen (678 pt). Your bottom padding is a screen tall | "Never use the tab bar's height as padding." |
| A grid stays one column after folding back | Percentage widths go stale on resize | "No percentage widths on anything that resizes. Use fixed point values." |
| Sheets open full-height with most of it blank | They were sized for a tall phone. We had 508 pt of nothing | "Sheets must fit their content on a 466 x 678 window." |
| Buttons are hard to hit | The tap area stuck out past the parent, and iOS ignores it there | "Every tap target is at least 44 pt tall." |
| Cancel draws under the status bar | SafeAreaView inside a Modal reports zero insets | "Read safe-area insets outside the Modal and pass them in." |
| The app runs in a box with bars around it | It was built with an old SDK | "Build with the iOS 27.1 SDK or later." |
Also tell it to size layouts from the current window size, never the phone model or orientation.
It's not just a wider screen
Stretching everything is the easy plan. We skipped it, because the second screen is a different job. Apple's rule is the same state and the same functions on both displays, with the inner one allowed to add one level of hierarchy. Same app, one more layer.
Then we asked who's holding it:
| How it's held | What the person wants | What we did |
|---|---|---|
| Outer display turned sideways, in hand or a mount | Glance, log a drink, leave | Display on top, tap targets in one row below |
| Same window, standing as a tent on a desk | Read it from about 1 m for hours. A tap near the top tips it over | Software can't tell this from the row above, so we designed for the harder one: the top half is look-only, with one number readable from across the desk |
| Unfolded, or half open in an L | Watch the top, touch the bottom | Content above the crease, controls below, so folding to the L moves nothing |
We also drew an ambient tent mode (chrome fades after 20 s of stillness). It's behind a flag, off.
What that looked like per screen:
- Pacing (Home). Collapsed behind a toggle on a compact window, open by default with room.
- Drink buttons. Where they sit is a per-display setting, and only a folding phone sees both.
- Logbook. Unfolded, it's one full-width list. Open an entry and the window splits at the hinge, list left and editor right. Close it and the list goes back to full width. We tried an always-on split and rejected it.
- Insights. Folded, the pond hero is the top of the scrolling list. Unfolded, it gets its own pane on the left and the history scrolls on the right.
- Settings. One column folded, two unfolded. Our first split was by card role, and the right column gave up halfway down, leaving about half the width empty. Now cards are placed by measured height, with Subscription pinned top-right.
All of it keys off window size: three layouts, no pose detection. The poses only decided what each layout is for.
The native tab bar is great for the Duo, and only the Duo
We used the native tab bar, with an icon on every tab. On the Duo the system moves it to a side pill on the outer display and in inner landscape. No code. Enjoy it while it lasts.
Then a regular iPhone went landscape. It keeps its bottom bar, and there isn't enough height left for a bar plus your content. Landscape on a regular iPhone is work you do yourself, if you want it at all.
First, we locked non-fold phones to portrait. We wanted to launch fast for the Duo, so a folding phone can rotate and others can't. Millpond is still in this state and probably will stay that way, because the use case is quick logging.
For user testing we built a custom rail anyway. When the window is wider than tall, we hide the native bar and draw our own where the Duo's pill sits. The Duo's shortest landscape window is 466 pt tall, so 450 pt is our cutoff. The rail sits behind the portrait lock, ready if we ever want it. We've only checked it on one simulator, in one landscape direction.
The trigger is window size, not model, so it should hold up on future phones.

Don't skip the regular iPhone
Building Duo-first makes it easy to forget the phone most of your users hold. Every visible change now gets a pass on a regular iPhone in portrait (about 400 pt wide, one column) as well as the Duo.

A turned regular iPhone and the turned Duo outer display land in the same short, wide layout. Design it once, and check it at large text.
The test that finds most of it
You don't need hardware to fold the phone. Xcode's simulator has fold and rotate buttons in its toolbar, with folded, half-open and unfolded states. There's no command-line switch, so a human presses them.
Fold, unfold and fold again, with a screenshot at each step (your tool can take those). The last screenshot should match the first. If it doesn't, you've found a bug. We ran a full audit before fixing anything: 42 screenshots, a scored critique, then 12 high-priority fixes in a day.
What the simulator can't do: drive Split View, or register automated taps on the side tab pill. Keep a list of what you haven't seen on hardware. Ours is longer than we'd like.
The app is Millpond Water Tracker, a small hydration tracker.
r/iOSProgramming • u/Traditional_Sir1787 • 7h ago
Tutorial Everything I know about App Store Optimization(ASO) after making $3k passively with apps
Hey guys, I decided to create a little guide on ASO, hope you enjoy it!
A little bit about me: my name is Dan, I've been developing apps for iOS for a bit over a year now. In that time I've managed to make $3k almost passively with my apps by focusing on ASO and optimizing it, some of them made more, others made less but at the end of the day all of them contributed to earnings.
Anyway, let's talk about the main tips that helped me to get there:
Before building the app research the keywords first
This step is the most important because the entire ASO strategy relies on finding keywords with relatively low competition, but with high popularity and search intent. Don't rush this process, take your time. I usually spend a whole day or two doing keyword research.
For keyword research, firstly you have to come up with a few ideas for an app on your own(don't be afraid to copy other apps a bit), after this you should think with which keywords(search queries) users will search for your app. Then you put these keywords that you came up with into a keyword search tool of your choice and look at the popularity and difficulty scores. I use Astro ASO to view the popularity and difficulty of keywords, but in the beginning I was using SensorTower for this(it's free, unlike the first option). As a rule of thumb, popularity always has to be >20 and difficulty <50. Also make sure that the majority of the keywords that you have chosen have high search intent. For example, for an app that teaches Spanish, keywords with high search intent would be "learn spanish", "spanish lessons", "spanish grammar", while keywords with low search intent are "dictionary", "teacher", "learning" etc.
The keyword order matters
After the previous step you should have about 10 keywords that fit the criteria of popularity and difficulty. You should filter these keywords into more important(very high popularity and low difficulty) and less important(not that high popularity and medium to high difficulty). You put your more important keywords in the title and subtitle and less important keywords in the keywords field(the one that is located under the description field). The order of importance of keyword placement is as follows: Title -> Subtitle -> Keywords field -> Decription. That means that App Store values the keywords in the title the most. Don't put the same keyword in multiple placements, the only exception for this would be description field because as far as I know Apple doesn't really evaluate the keywords in this field, but it doesn't hurt to integrate them organically in the description too. Another important thing is that if you only rely on organic downloads(meaning that you don't run ads or social media for your app) you should put the keyword before the brand name in the title. For example, if we take the Spanish learning app from the previous step as an example and let's say that its brand name is "Fluentio", its title should be something like this: Learn Spanish - Fluentio. Here "Learn Spanish" is the main keyword and it receives the most attention from App Stroe if we put it like that in the beginning of the title
Screenshots are more important than you think
The problem that I see with many developers and that I had myself when I started publishing apps is that they focus just on developing the app and when it comes to creating screenshots for the app they just put default screenshots with some vague text on them listing the features of the app. This is wrong because you are competing with other apps that have the same features and most users don't care about the features, they care about the results that the app can bring to them. Again, taking the Spanish app from the previous steps as an example, a good text for its screenshot would be something like "Reach basic fluency in 60 days" and a bad vague text would be "60 unique lessons". Make sure that the text on screenshots stands out, it should be bold, some of the words are underlined or another size to draw users attention to the most important things. Also the visuals themselves should not be boring, make them pop out of the screen template to accentuate attention on your main features.
Optimize your paywall
This is more about the money-making aspect of apps rather than ASO but still. Your paywall should be optimized so that the work you put in the previous steps does not go to drain. In some way optimizing a paywall is similar to optimizing screenshots, your paywall should list results that the user will get by using your app, it should not be just another feature list. For the apps that rely entirely on ASO for getting downloads I found that the most effective paywall strategy is showing it once after the onboarding with an option to close it and then showing it after the user used the main feature a certain amount of times. By the way, your app making money is also a factor in ASO. It has been shown that the more your app makes per install the higher it will be in search results, this is logical I guess because obviously Apple wants to make as much money as possible so it pushes the most profitable apps.
Don't sleep on reviews
The amount of the ratings and reviews that you have greatly influences ASO and it doesn't matter what is the average rating(though it matters for converting users). Apple is tightening up the mechanisms of asking users for a rating, so you should be ready that they reject your app if they think that the review prompt that you have in the app is placed inappropriately. But you still should always have a review prompt in your app, don't expect users to go themselves to the App Store to give you a rating, it rarely happens. For my apps the most effective rating-asking placements are often after the user used a feature for the first time or after multiple times of using a feature. Make sure to keep you average rating at least as close to 4.5 as possible because at this average rating the percent of view to install is the highest.
Summing all of this up, I would say that another tip I can give you is that you should build the app in 1 or 2 weeks(focus on building simple apps with 1 or 2 features) while keeping it at high quality. Because of the widespread use of AI in the development process, the good keyword that you found may be polluted with other apps a few weeks later because not only you found it, so you have to develop fast. Also please don't use AI for ASO because it will give mediocre results, it is one of those things that it can't do because it lacks a real world perspective on which keywords are good which are bad so if you develop this skill it will be your edge against competitors.
By the way, I also do individual ASO audits for apps, so if you're interested in something like that hmu ;)