Skip to main content
Filter by
Sorted by
Tagged with
-4 votes
0 answers
28 views

I am only relatively new to the community. However, I can't get a few packages together and now I don't know how to get any further and I'm still at the beginning of my project, I would also be ...
Shiba Inu_TV's user avatar
1 vote
1 answer
28 views

In my app you can swipe from left-to-right on the left edge of the screen to dismiss a UIViewController in a UINavigationController. But now in iOS 26, you can start the swipe from anywhere on the ...
Micro's user avatar
  • 10.9k
1 vote
2 answers
54 views

I have a grid/tile view implemented like below: struct Grid: View { let size: Int var body: some View { LazyVStack(spacing: 0) { ForEach(0..<size) { _ in row } }...
Radioactive's user avatar
1 vote
0 answers
36 views

I wrote a Swift macOS app to control a PCI audio device. The code switches input and output channels by default. As soon as I launch the Audio-Midi Setup utility and switch channels, my code stops ...
Purgen's user avatar
  • 11
0 votes
0 answers
39 views

I am currently using CLGeocoder in weather app on iOS to handle user's location queries. I then use the region property of the resulting CLPlacemark objects to obtain the region corresponding to the ...
Math Rules's user avatar
0 votes
0 answers
61 views

I'm building a macOS app using SwiftUI, and I want to create a draggable floating webcam preview window Right now, I have something like this: import SwiftUI import AVFoundation struct ...
Zaid's user avatar
  • 449
1 vote
0 answers
68 views

I'm trying to show a fullScreenCover when the user taps the third tab instead of actually switching to that tab. The issue is that resetting selectedTab = oldValue in onChange breaks the ...
Mehmet Baykar's user avatar
1 vote
0 answers
56 views

I use a custom AppTheme type and inject it via a custom EnvironmentKey. Views can access the theme using @Environment(\.appTheme) or override it explicitly. While this work fine in most cases it ...
Andrei Herford's user avatar
0 votes
1 answer
52 views

I've issue in v18.0.2 when my app switch to facebook app. I'm using AppDelegate. My issue is only user authorize open Facebook App, user authorize in WebView is fine. I research and tried a lot but ...
hung nguyen's user avatar
-2 votes
0 answers
60 views

I have a sample JSON that I am trying to decode to models in my Swift. But it keeps failing and giving me error: Fatal error: 'try!' expression unexpectedly raised an error: Swift.DecodingError....
john doe's user avatar
  • 9,758
-3 votes
1 answer
51 views

This doesn't work anymore on iOS 26 to disable swipe back in a navigation controller: interactivePopGestureRecognizer.isEnabled = false How can we disable swipe back to dismiss a UIViewController in ...
Micro's user avatar
  • 10.9k
-1 votes
1 answer
86 views

I'm trying to run my Flutter app on a real iOS device. The app installs successfully, Firebase initializes, and logs show normal navigation (Splash → Onboarding). But the screen becomes completely ...
Mamta's user avatar
  • 45
0 votes
1 answer
72 views

I’m building a reusable custom bottom sheet component in SwiftUI because my app supports iOS 15, so I can’t use .sheet with detents yet. Functionally everything works the sheet opens and closes but I’...
K. Janjuha's user avatar
1 vote
1 answer
64 views

I want to be able to give these ends a corner radius of 5 instead of sharp square ends. lineCap only supports .round, .butt and .square How can I create a custom corner radius for the lineCap? Here is ...
Aditya Vyavahare's user avatar
2 votes
1 answer
66 views

I am implementing a "save password" feature on sign up, where I have 3 text fields: Username, password and confirm password. My problem is if I remove "confirm password" text field,...
Neha's user avatar
  • 21
0 votes
0 answers
40 views

In the past few weeks something apparently has changed with xcode/Apple which is causing our iOS regression tests to hang on authentication using Firebase. Googling the interleaved log error Error ...
bias's user avatar
  • 1,466
Advice
0 votes
2 replies
50 views

Let's use a basic todo app as an example - sharing a todo list. I have a share button (square with up arrow) that when the user taps I want the initial share sheet to appear. If I have to create and ...
Cocoanut's user avatar
  • 664
6 votes
0 answers
231 views

I need to show occasional long texts in a UIButton in the section header of my UITableView. The following simple example code shows the issue: import UIKit import SnapKit class ViewController: ...
sudoExclamationExclamation's user avatar
1 vote
1 answer
111 views

before updating to iOS 26 my list was looking fine but now it has abnormal paddings and because I am using fixed height, I had to increase the height from 40 to 60 to fit the text. There are currently ...
iosDev73's user avatar
2 votes
1 answer
64 views

I saw a cool feature on YouTube for playing instream ads directly in the system pip I wanted to repeat their functionality. I was able to add a regular UILabel, but I had problems with the UIButton. ...
Герман Кунин's user avatar
-3 votes
0 answers
58 views

When my view controllers appears, large navigation title is appearing. But when I scroll, then small navigation title is not appearing. I am facing this issue only in iOS 26. In older iOS versions, ...
pkc's user avatar
  • 8,548
-1 votes
1 answer
58 views

I want to keep some graph traversal algorithms as generic as possible and define a protocol for this purpose: protocol Path { var distance : Int { get} var end : Node { get } init (start:...
Christophe's user avatar
  • 75.1k
0 votes
0 answers
44 views

I begin to create online shop iOS app with connection to site on Woocommerce. I want to insert in TableView products from Woocommerce via API. Now then I Build the app, simulator launch only white ...
dima ulyanoff's user avatar
-3 votes
0 answers
70 views

I have this code: func drawCount() { Task { await _drawCount() } } func _drawCount() async { let k = await Task.detached(priority: .low) { return gfed.filter{$0.blah}....
Fattie's user avatar
  • 9,770
0 votes
1 answer
43 views

I need to pack an API that depends on a C binary into a single xcframework. This task seems to be quite tricky because I cannot find any helpful resources. I don't know how to proceed. I have a ...
Chris85's user avatar
0 votes
0 answers
43 views

I have Project where I have already integrated heresdk since 2 years back and it is working fine but when I update to latest heresdk then it gives an following error protocol conformance descriptor ...
Manish's user avatar
  • 742
4 votes
1 answer
116 views
+50

I’m working with RealityKit and I’m seeing a strange black artifact appear in the center of my rendered model. Here’s the relevant code: let camera = PerspectiveCamera() camera.transform = ...
HL666's user avatar
  • 366
0 votes
0 answers
58 views

I'm experiencing the following error with my SwiftData container when running a build: Code=134504 "Cannot use staged migration with an unknown model version." Code Structure - Summary I ...
tishly's user avatar
  • 67
2 votes
1 answer
69 views

I’m running into an issue with remote push notifications on iOS. When the app is in background or inactive, tapping a notification correctly triggers: userNotificationCenter(_:didReceive:...
Thakgrandka's user avatar
0 votes
1 answer
52 views

private var maximumDistanceForTrailingHandle: CGFloat { get async { return ... } } (lldb) po maximumDistanceForTrailingHandle warning: <EXPR>:11:7: initialization of variable '$...
Nike Kov's user avatar
  • 14k
1 vote
1 answer
51 views

I have created a reusable ModalDialog view that presents modal content via .fullScreenCover. Inside this dialog, a button triggers a SwiftUI .alert. This works fine in many situations. However, in a ...
Andrei Herford's user avatar
-1 votes
1 answer
71 views

When I use navigationTitle in SwiftUI, the top padding becomes too large. However, in Apple’s own apps the top area is noticeably smaller and more compact. How can I achieve the same native look with ...
Shakhzod's user avatar
0 votes
0 answers
24 views

The code below is located in the application module: enum API {} extension API { protocol Endpoint: Sendable { var basePath: String { get } var apiName: String { get } var ...
Nikolai Nagornyi's user avatar