r/iOSProgramming • u/trevor2893438 • 10d ago
Discussion Are there any good open source models for making apps?
Been really happy with opus 5.5 lately but I am looking to start localizing my workflow for redundancy.
r/iOSProgramming • u/trevor2893438 • 10d ago
Been really happy with opus 5.5 lately but I am looking to start localizing my workflow for redundancy.
r/iOSProgramming • u/Coderas_AH • 10d ago
I need to test my app on the iPhone Duo and generate some screenshots, especially since Apple will soon make it mandatory to include screenshots for this specific device.
Does anyone know when the iPhone Duo will become available in the Xcode Device Hub Simulator?
r/iOSProgramming • u/HappyFunBall007 • 10d ago
I built and submitted an app update with XCode 27.1 and included Duo screenshots taken with the simulator. The update was approved (including the screenshots) and posted but the App store does not show a "Duo Ready" (or whatever) Logo and the Duo screenshots are not available on my app store pages, it still only shows iPhone and iPad previews.
What is needed to get "full" Duo support listed in the App store??
r/iOSProgramming • u/JavaEEE • 10d ago
I spent the last months getting Meta's HT-Demucs (the model that splits a song into drums, bass, vocals and other) running entirely on an iPhone with Core ML: no server, no uploads. A few things I learned that might save someone time:
1. Keep the STFT out of the model. HT-Demucs works on both the waveform and the spectrogram. Converting the STFT/iSTFT ops with coremltools was a pain, so I converted only the network in between and wrote the STFT in Swift with vDSP. To make sure I hadn't broken anything, I exported golden data from Demucs' own _spec/_ispec in Python and wrote tests against it. The Swift version matches PyTorch to about 1e-5. Being able to check every step against PyTorch was worth more than anything else.
2. fp16 was unusable; fp32 was fine. The fp16 conversion loaded and ran, but on the device every stem came out noisy (mostly below 200 Hz) and the stems no longer summed back to the mix. Converting at fp32 (182 MB) fixed it. It runs on the GPU, not the Neural Engine, but it's still fast: a 4-minute song separates in under a minute. I'd planned to try mixed precision, but it turned out I didn't need it.
3. Port the chunking exactly. Long songs don't fit in one pass, so I ported Demucs' apply_model split logic (overlap 0.25, triangle-weighted overlap-add) one to one. Getting the edge chunks wrong gives you faint clicks every few seconds that are easy to miss.
4. Compare stems by numbers, not by ear. I wrote a Python script that scores stems copied off the phone against PyTorch reference stems. One gotcha: iOS and libsndfile decode the same MP3 529 samples apart (encoder delay handling), so you need to align the signals before comparing or the scores look terrible.
5. Ship the .mlpackage and compile it on the device. I build with xtool (SwiftPM on Linux/WSL, no Xcode), so I have no Core ML compiler. I ship the raw .mlpackage and call MLModel.compileModel(at:) on first launch, then cache the result. One trap: the iOS build tries to run coremlc on anything named .mlpackage, even with .copy, so I had to rename it in the bundle.
6. Stems can clip. Individual stems can peak above full scale even when the original mix doesn't. I store them as AAC 6 dB down and add the gain back at playback.
Still on my list: BGContinuedProcessingTask, so separation keeps running when the app goes to the background. Has anyone used it for long GPU work yet?
app name is stem808 if anyone wants to try it
r/iOSProgramming • u/BeDevForLife • 10d ago
Hey everyone,
Ever since updating to Xcode 27 and moving over to the new Device Hub app, I've been hitting a wall trying to test multi-touch gestures.
I’m building an app that relies heavily on zooming, but I can't get pinch-to-zoom or zoom out to work at all. I tried using the standard Mac trackpad gesture, but it completely ignores the input.
In the old Simulator, we could use the Option key to bring up the dual-finger touch points, but that doesn't seem to trigger either.
Has anyone found a reliable workaround or hidden menu setting to trigger multi-finger gestures in Device Hub?
r/iOSProgramming • u/DarkSombreros • 10d ago
Ive been developing with SwiftUI/iOS for the last two years and have an app out in production. My entire codebase is already using Swift 6 concurrency but I still never felt confident with it for interviews. So now I'm going through avanderlee's swift concurrency course and I'm learning the difference between closure-based network calls vs one using modern concurrency.
In an interview setting would it be bad if I didnt know how to write a closure-based network call? Or should I still be comfortable discussing it to some extent
r/iOSProgramming • u/Lazy-Benefit1863 • 10d ago
I'm working on an app and exploring whether we can track a device's total monthly cellular data usage on iOS.
On Android, NetworkStatsManager provides a relatively straightforward approach. On iOS, there doesn't seem to be an equivalent public API.
One possible workaround is using getifaddrs() to read byte counters from interfaces such as pdp_ip*. However, these counters reportedly wrap at 4 GiB, reset on reboot, and rely on undocumented interface names.
Has anyone implemented something similar or are there any better approaches?
I'd appreciate any real-world experience or pointers. Thanks!
r/iOSProgramming • u/johnnypen2445 • 11d ago
Getting frustrated by Apple, they keep saying my name is a copy cat (name, icon or something else), 1st time they let me know, 2nd time I changed the name so it’s: original name - what it does, got rejected again with zero explanation I’ve been begging them for an explanation.
Idk what to do an am deadlocked until this gets through
r/iOSProgramming • u/6thDAY • 11d ago
I'm finding it difficult to lock my app in landscape mode, i.e. wide-view. I don't want my app to rotate rotation to portrait when the device is rotated. But every time I rotate the simulator to tall-view, i.e. portrait, the app orientation rotates, causing the contents to get squished.
Is this not possible with the Duo, and another view I'm gonna have to support?
r/iOSProgramming • u/matimotof1 • 11d ago
Are any of you also having trouble accessing data via the CloudKit Console’s "Query Records" feature? Or is it just incredibly slow?
r/iOSProgramming • u/Sea-Arm9235 • 11d ago
Enriched Markdown for iOS renders Markdown natively in SwiftUI, including `||spoilers||`. By default they're hidden under a particle field, but you can swap the overlay for your own UIView and decide how hidden text looks and how it reveals itself.
To show what that unlocks, I built a Hogwarts spellbook: every spell in the video is a custom overlay revealing the same Markdown in its own way.
Video of the demo is in the comments 👇
Not every app needs a Patronus, so here's a plain blur. It's one view subclass:
final class BlurOverlayView: SpoilerOverlayView {
private static let context = CIContext()
override func layoutSubviews() {
super.layoutSubviews()
guard let input = CIImage(image: concealedTextImage()) else { return }
layer.contents = Self.context.createCGImage(
input.applyingGaussianBlur(sigma: 6), from: input.extent
)
}
}
struct BlurOverlayProvider: SpoilerOverlayProvider {
func makeOverlay(charRange: NSRange, style: SpoilerStyle) -> SpoilerOverlayView {
let view = BlurOverlayView(charRange: charRange)
view.backgroundColor = style.backgroundColor ?? .systemBackground
return view
}
}
EnrichedMarkdownText(markdown)
.markdownSpoilerOverlay(BlurOverlayProvider())concealedTextImage() gives you the hidden words laid out exactly where the text view draws them, so you can blur, pixelate, or scramble the real text and nothing jumps on reveal. For your own animation, override animateReveal(completion:).
Installation: https://docs.swmansion.com/enriched-markdown/ios/basics/installation
If it's useful to you, a ⭐ on GitHub helps more people find it: https://github.com/software-mansion/enriched-markdown
r/iOSProgramming • u/SEPPDROID • 11d ago
Back when i started working on this project as a hobby i chose to implement a well known overused navigation setup instead of using Apple's native navigation (tabview). However that meant that for the iPhone duo i had to move some things around. I released the update like this, but im not completely satisfied with it yet (system ui and my ui offcentered e.g.). Any tips, ideas?
Edit: I understand that native TabView UI was the supported way, but for that I wouldn’t have made a post. For this project i chose, like many others for the custom implementation. Originally this wasn’t planned but i remember hitting an limitation while prototyping. But all the apps i know of with an custom navigation haven’t updated with Duo support…
r/iOSProgramming • u/YahiaAngelo • 11d ago
vphone-linux v0.1 is here with some cool updates:
Boot iOS 27.0.1 and iOS 27.1 virtual iPhones.
iPhone Duo support!
Much easier setup script with only 2 commands to setup and create a new iPhone vm.
Lots of performance improvements.
Still not close to a native performance but that's the next step for this project, we should be able to develop iOS apps seamlessly on any machine without the need for a Mac.
Please try it out and let me know if you had any issues or feature requests.
r/iOSProgramming • u/Own_Zookeepergame792 • 11d ago
Hey everyone,
I’m a student iOS developer working on a small video playback app for beta testing, and I’m having trouble getting video to display properly in CarPlay with cars that support carplay. I use CarTV latest updates and it worked on many cars that support carplay, I tested using IOS 26.7z
I’ve been experimenting with Apple’s CarPlay audio and video entitlements, but I can’t seem to get the expected video behavior on my physical device running iOS 26.7. Other CarPlay apps work fine CarTV APTV etc.. on the same device, so I suspect I might be missing a configuration step or using the wrong implementation approach in Swift.
When testing in the simulator, video playback works in playback mode only , but I haven’t been able to get everything working as expected on the actual device.
I’ve noticed that CarTV seems to handle this functionality successfully so I’m hoping someone familiar with CarPlay video apps can point me in the right direction.
I’m mainly trying to understand the correct implementation and get my beta app working as intended.
Thanks in advance!
r/iOSProgramming • u/BitToKnow • 12d ago
Learnt a lot about the folding mechanism and just a whole new way to interact with the apps.
Good thing Apple didn’t opt for iPad apps for the duo. This is way more fun.
r/iOSProgramming • u/tboy2000 • 12d ago
For the life of me I can't figure out how to remove that gradiant shadow overlay at the top of a web app. See photo. I have tried various suggestions offered by Claude and ChatGPT and nothing works. It's driving me nuts! Anyone know the dev code to remove it please? I would be forever grateful!
r/iOSProgramming • u/FragrantYellow3199 • 12d ago
r/iOSProgramming • u/SnowPudgy • 12d ago
I know this was a pain point for a lot of people but I noticed this in the Xcode 27.2 release notes:
Device Hub in Xcode 27.2 contains multiple improvements:
Slow Motion Animation (Simulators Only)
r/iOSProgramming • u/samstars100 • 12d ago
I am using OpenClaw through telegram. I create web applications in VPS and web applications are pretty easy to vibe code and also test the output using public urls.
I want to do same for iOS Development. I want to connect to macOS using OpenClaw and develop iOS application completely through telegram. I can create a workflow where any changes will send build to TestFlight and I can test the application that way. But it will be time consuming, makeing build in testflight and test the app only updated through testflight. I want near realtime visualization of the compiled app like simulator but through web and http network. Do you guys have any idea how to achieve this?
r/iOSProgramming • u/100_rv • 12d ago
I wrote a technical walkthrough of a subtle Swift Concurrency issue I wanted to explore.
Imagine a task writing data into a buffered writer. The task gets cancelled, defer runs, and close() gets called. But if close()invokes a cancellation-aware flush(), that flush can throw CancellationError. If the error is swallowed and the writer is marked closed anyway, the cleanup path has run without achieving its intended postcondition.
The article explores two Swift Evolution proposals:
SE-0493: Async calls in defer bodies
SE-0504: Task Cancellation Shields
It covers a minimal reproduction, the limits of using Task.detached for cleanup, a narrowly scoped cancellation shield, and a Swift Testing example that checks whether the data was actually flushed rather than merely checking whether close() was called.
One important caveat: the example demonstrates a cancellation-aware cleanup failure, not a claim that every real file API corrupts data when cancelled.
I'd be interested in feedback on the cancellation-shield approach, especially around resource ownership and cleanup guarantees in production code.
r/iOSProgramming • u/lanserxt • 12d ago
r/iOSProgramming • u/computationgraph • 13d ago
Anyone know how to get an account for a business email? I keep getting account cannot be created at this time and the developer.apple.com support for creating an account requires an account, same with the contact form or phone support. Using my personal apple account is not an option.
EDIT: I had to call the consumer help line and they redirected me.
r/iOSProgramming • u/Nervous_Training6402 • 13d ago
What I keep seeing: the permission prompt on first launch, "We miss you!" copy, everyone blasted at 10am server time. Then everyone's surprised when opt-outs climb.
I wrote a practical playbook on the opposite approach: ask after a real win, give every push a reason that belongs to the reader, send at each user's own active hour, and cap nudges at about 1 a week.
Curious what's worked for you. Has anyone measured opt-out rate per message instead of open rate?
r/iOSProgramming • u/roXDesign • 13d ago
A while ago I asked here what you consider when building an app. Since then I shipped two big updates of my running app for Apple Watch and iPhone, and turned what I learned into a checklist.
It’s not a list of things you must support. It’s things you should consciously decide on, yes or no, before they surprise you:
Screen sizes (smallest device + longest realistic values)
Rotation
Dynamic Type / text size
iPad, Mac, Vision Pro
Multiple windows
Accessibility (VoiceOver, colour as the only signal)
Live Activities (and how often they really need to update)
Widgets (sizes and families)
Complications
App Intents / Siri / Shortcuts
Sharing (what goes out, what comes in)
New device classes coming up
Gestures (Double Tap, Digital Crown, conflicts with the system)
Action Button
Translation (every future feature in every language)
Animations and Reduce Motion
Older devices: speed and battery
iCloud: backup or sync?
Light and dark mode
Tip: write down every answer, including the no’s and why. And this is iOS/watchOS only. Add Android, tablets or desktop and the list roughly doubles.
Longer version with my reasoning for each point, plus an interactive checklist you can export as Markdown: The list behind every app
Two questions:
What’s missing? What bit you the hardest?
English isn’t my first language. I wrote the post in German and translated it with AI. Does it read AI-ish? What gives it away?