My goal is to: Record a video Show it in a view and play it on a loop Dismiss it from the view Repeat with a new video Problem: Steps 1-3 work. However, the aud
I am new to Xcode and Swift. I want to create a text box for a video game that acts as the dialogue between the game and the user. for example I want the text b
I tried save textview as image with not device scale. I implemented a method to save an image by adding an arbitrary textview according to the UI value. Because
I'm using the newest version on Xcode for my iOS app. I don't want iOS to automatically change the colors in my app when device is in dark mode, because it does
I am a fairly novice developer. I wrote an app for tracking indoor bouldering climbs all in 1 really large file. It was working fine, just hard to maintain. Now
I want to get the list's offset to achieve pagination. So, I wrote like below. ContentView.swift import SwiftUI struct ContentView: View { @State var list =
I have JSON data that looks like this: { // Other attributes here.... "id": "a4s5d6f8ddw", "images": { "selection": [ { "url": "https://
I'm trying out the UICollectionViewCompositionalLayout as a way to build a UI where there are both a vertical and horizontal arrangement of cells. ie. one secti
Working on iPhone, iPad and Mac OS app, which has login screen. I took login View in NavigationView, when I tap on back button the login view will slide as spli
For context, I'm trying to create a mapping from string code points to emojis and need to know if the system supports the emoji: ("1F9AE") -> "🦮" ("1
I am trying to save longitude and latitude to Firestore from GoogleAutocomlete but it saves as 0. I am able to save name and address successfully from the textf
I recently changed my device from iPhone 8 to an iPhone 13 mini and tried to run my app on it but xcode is failing and showing me Build input files cannot be fo
I don't understand what's the difference between add(_) and add(_) async method. Like the below code, the MyActor has two add methods and one of them uses async
Purpose My intention is to come back from view3 and return directly to view1 Current Status My view hierarchy here is view1 -> view2 ->
Goal My goal is to make the LazyVGrid header look exactly the same as the List header. When utilizing the Grid view, the header is transparent and shows the con
In iOS SwiftUI, How we can make a common layout for Navigation Bar. So we can use that in all project without re-write the same code. We can use ViewBuilder to
Probably the title isn't very clear and is a bit confusing, and to be honest, I do not really know how to ask this question since I'm new to JavaScript and Mong
I have created a web view app in swift. There I came up with one issue that following click event is not working. <button onclick=" window.open('https://www.
I am trying to import two packages, both called PushNotifications, into Swift Package Manager. I need them both. However as they both have the same name I get t
There doesn't seem to be an intuitive way of moving a view/shape along a custom path, particularly a curvy path. I've found several libraries for UIKit that all