SwiftUI: How to implement swipe up view from "find my" app – Ios swift
I would like to implement this "swipe up view" from the apple "find my" app in my app with swiftui. Does anyone know how this works or what I can look for? Best regards
I would like to implement this "swipe up view" from the apple "find my" app in my app with swiftui. Does anyone know how this works or what I can look for? Best regards
I'm making login flow right now. There is two view controllers for email input and password input. After validating email account, password input view controller pops up. The email VC and password VC is very similar but slightly different. just…
I need to pass a String and Array from my Third ViewController to my First ViewController directly using protocol/delegate, I have no problem doing it from VC 2 to VC 1 but I'm having a hard time with this. Also…
So let's say I have a Codable type like so: struct MyCodable { let name: String let value: Int } Presumably, the compiler should generate a set of coding keys like so: enum CodingKeys: String, CodingKey { case name case…
I have a searchable list displaying various instances of a certain Data Model which are saved in an array. When tapping on one of the list rows a new view opens displaying some information about the Data Model. For demonstration…
I'm porting parts of an Objective-C framework to Swift, and I have an issue I can't think of how to fix. As part of one of the classes, I need to store a URLSession to access a remote API, and…
According to the iOS & iPadOS 16 Beta 3 Release Notes:- Attempting to set an orientation on UIDevice via setValue:forKey: isn’t supported and no longer works. Instead, they say use: preferredInterfaceOrientationForPresentation. In my case, force view controller orientation is not working in iOS…
So it says my session has expired, I try to login, but nothing happens... It's not like it's wrong or something if I type just one character it says "Wrong password" but if I type the correct password literally nothing…
I have an ipfs encrypted video URL. I am not able to play video in avplayer but URL plays well in webview. here is URL: https://ipfs.moralis.io:2053/ipfs/QmUjWnQZVVNmTSVak2QDhTxMkn3dPQozxawa1sm3jE5bLr let currentURL = URL(string: "https://ipfs.moralis.io:2053/ipfs/QmUjWnQZVVNmTSVak2QDhTxMkn3dPQozxawa1sm3jE5bLr")! let playerItem = AVPlayerItem(url: currentURL) playerItem.addObserver(self, forKeyPath: "status", options:…
I added radio functionality to my application recently. I wanted it to play music even when it is in the background. So I implemented this piece of code do { try AVAudioSession.sharedInstance().setCategory(AVAudioSession.Category.playback, mode: .default, options: [.duckOthers, .allowBluetooth]) try AVAudioSession.sharedInstance().setActive(true) }…