I'm trying to align the items in UIStackview horizontally to the left. Is there anyway to do this programmatically? I tried to do this via storyboard but was n
Overview I have two dependencies, one available as a Swift Package, and the other only available as a Cocoapod. The problem is that each has a dependency on a t
I want to achieve something like var a, b, c: MyType = MyType() but this line doesn't compile because compiler treats the type annotation MyType is only for
Is there any way yet of being able to use wired headphones' mic as input and iPhone speakers as output using the high level AVFoundation framework: AVAudioSessi
In my IOS Application I've created a WKWebview of a website that I'm not owning myself. So inside my: func webView(_ webView: WKWebView, didFinish navigation:
I'm trying to make reusable custom views that themselves can be customized later. Ideally I'd be able to define default modifiers like Color, Font, etc that the
How can I check if the user has enabled remote notifications on ios 9 or ios 10? If the user has not allowed or clicked No I want to toggle a message asking if
does anyone know how to give the minutes DatePicker an interval? I am trying to only display multiples of 15 (0, 15, 30, 45). Is this only yet possible by inter
I want to immediately present the second alert view after click the dismiss button of the first alert view. Button(action: { self.alertIsVisible = true })
Let's say we have the following goals: We want to use actors. We want to use dependency injection and resolve actors through DI. We want to hide our actors behi
I need a function that can return either a String or an Int depending on the parameters entered eg: func getValue (type: String) -> (String || Int) { //thi
Goal: I want to programmatically update the versions of Swift Packages consumed by a sample project. Problem: Xcode > 11 offers a menu option: File &
I'm trying to open my app from a web page using custom schemes. The app is opened but the following method is not called: func application(_ app: UIApplication
I have one of my application, that is created in Xcode 8. I have used CoreLocation and MapKit in that app. I have update app with latest iOS till now. and it w
I'm making a school project in which I have to find the weight of a person on different planets, but I am confused about how I should use the input and multiply
I'm trying to create this UIViewRepresentable view with an UILabel so that I can reprersent an NSAttributedString using SwiftUI. I've tried to create a functio
I'm trying to implement Firebase Analytics for Swift iOS app. Could you please explain, if it's possible to pass custom parameters with predefined AnalyticsEve
i tried to change the width of my Image view to 20 @IBOutlet weak var image: UIImageView! using this code in viewDidLoad self.image.frame.width = 20 but it giv
I've created my UICollectionView programmatically and in this case my didSelectItemAtIndexPath method does not call at all. let collectionView = UICollectionVi
A really small UI test fails when trying to tap an alert button, what step am I missing? I'm trying to tap the "Continue" button in the alert displayed below w