Simple TabView is crashing in iOS 16 – Ios swift
It's fixed at iOS 16.1 Beta 4 ✅ There is a weird crash that only happens in iOS 16. When I try to create a TabView with page style, it's crashing when the array is empty. But it's working perfectly…
It's fixed at iOS 16.1 Beta 4 ✅ There is a weird crash that only happens in iOS 16. When I try to create a TabView with page style, it's crashing when the array is empty. But it's working perfectly…
I just updated my Xcode 13 to 14 version. After updating I tried to build and run app on my phone but Xocde is giving the this error. Any solution to this problem. I am using Mac os version 12.6…
I am making an app where I need to use half circle. But I can't make its frame match the real size of the object. Right now I am trimming the circle but I don't really know you to actually…
I've defined a view in SwiftUI which takes an Int array and is supposed to display the elements of the array in a VStack such that every "full row" contains three elements of the array and then the last "row"…
Why fullScreenCover always take just first index of an array? This is some example of code: struct TestView: View { @State private var isFullScreen: Bool = false var body: some View { VStack{ ForEach(0..<5, id:.self) { number in VStack{ Text("(number)")…
Before iOS 16 picker views take on special behavior when inside forms. They looked like a navigation link which takes you to a new screen where you can choose an option. Since iOS 16 it seems, that this behavior was…
I am trying to create the following card view. With the following code to achieve it. struct SimpleGame: Identifiable, Hashable { var id = UUID() let name: String } enum PlayingStatus: String { case In = "I" case Out =…
i am working on e-commerce mobile app, of course i need to send push notifications with a specific order number or product , so once user click on the push notification it shall handle the custom data sent with push…
I'm trying to make a simple swiftui app using qualtrics and I'm trying to use a uiviewrepresentable to make it work @main struct QualtricsPocApp: App { var body: some Scene { WindowGroup { ContentView() } } init() { func application(_…
I would like a certain view to start as a half-screen sheet, but when it's done with some loading, it should transform into a full-screen sheet. So in UIKit my solution would be that: let vc = UIViewController() vc.view.backgroundColor =…