Category "ios"

Programmatically change to another tab in SwiftUI

I'm trying to implement in SwiftUI where you press a button in a view on one tab, it changes to another tab. I would do with UIKit: if [condition...button press

iOS Vision framework with only ARKit import

I hope it's not a silly question, but why this iOS Swift code compiles successfully? import UIKit import ARKit class ViewController: UIViewController {

How to translate Python HMAC code to Swift

I've been struggling to convert the code from Python to Swift and can't get the same signature value. I've been trying different combinations in Swift but my re

Swift Autolayout headerview in UITableView

I'm trying to create a view that has some labels and a UITableView. First of all i tried to create a UIView => UIScrollview => UIView + UITableView After

SwiftUI: Make ScrollView scrollable only if it exceeds the height of the screen

Currently I have a view that looks like this. struct StatsView: View { var body: some View { ScrollView { Text("Test1") Tex

Automatically adjustable view height based on text height in SwiftUI

I am trying to create a view in SwiftUI where the background of the image on the left should scale vertically based on the height of the text on the right. I t

how can i use only custom font without family font system on ios

I use CLImageEditor this link, but in the fonts picker it displays the system fonts, I do not want to display it, Because it contains strangely repetitive NewRo

How to open flutter application from url?

For example, i have case in my flutter app when user can recover his password. In that case user will receive link on e-mail, and i want by clicking on that lin

Will changing the info.plist of custom framework manually create problems in installing on device?

I made a custom framework from a xcode project with "example.com.a" bundle identifier using lipo -create command by joining simulator and iphone architecture f

Google Places, Swift Package Manager & M1 Mac issues

I have students using Google Places AutoComplete with iOS UIKit and Swift. Students with M1 Macs still seem to not be able to use the simulator with this SDK an

URL Waze (GPS), directing from browser to app

I have an Waze URL with the adresses settled in a button in an Web Page, in which souldnt calculate the route, only mark the pin at the map. This link should re

How do I select a build in App Store Connect

I tried to publish the app to Apple Store Connect. Normally there is a "+" button but I don't see one right now because Apple have updated iTunes Connect and in

Module compiled with Swift 5.3.2 cannot be imported by the Swift 5.6 compiler

After updating to Xcode 13 and trying to run my app on an iOS 15.4 simulator, I get the following error (note, this is not a repeat question). This error doesn'

After updated my Xcode 13.3.1, I unable to run my flutter project with the error CocoaPods not installed or not in valid state

Error in console: Warning: CocoaPods not installed. Skipping pod install. CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that respo

Modify AppAuth alert

I am using AppAuth (0.95) to access google mail on my IOS app. Before redirecting to google sign-in, i get an alert with this message. 'Appname' wants to use

How do I include iOS App Icon image within the app itself?

I have standard iOS app, with a standard app icon contained in Assets. I'd like to display the app icon within the app (using SwiftUI). Note that I am not ask

SwiftUI Mask a rectangle inside a rounded rectangle

Hello there. I am wondering, in SwiftUI, how do you mask the contents of a rounded rectangle so that a child rectangle clips the corners. In my example I ha

Flutter Upgrade Breaks iOS Build

After upgrading Flutter to 2.10.5 my XCode build is giving me: Error output from Xcode build: ↳ objc[49279]: Class AppleTypeCRetimerRestoreInfoHelper

Event Delegation like in JavaScript, but in iOS Swift

Is there a way in Swift to capture events on a screen similar to how Event Delegation in JavaScript works? I would like to find a way to respond to events witho

White blank screen is displayed when I run my flutter app

I've already added a few dart files with Firebase integration and fixed deprications, but unfortunately it shows a white blank screen when I run my flutter app