Category "ios"

module 'audio_session' not found

I try to build an existing flutter project on a new Mac with M1 chip. I face the following error in regards that the audio_session module is missing. Launching

bg color of view controller status bar area in UIViewControllerRepresentable

I am using a UIViewControllerRepresentable for a view controller that can accomplish things I can't do in SwiftUI. I am trying to get the status bar area appear

How to scroll particular views under the scrollview in ios using swift?

I have views like below 75% view is Scrollview and 25% is Bottom Imageview. childView which is inside scrollviews My Screen UI I tried below code as w

White line below UIRefreshControl when pulled.. tableView

I am implementing a very basic Refresh control... var refreshControl = UIRefreshControl() refreshControl.addTarget(self, action: Selector(("refresh:"))

Multiple commands produce flutter GoogleUtilities

I am trying to build for app store. using command flutter build ipa and getting below error. Although the build works (when I run from Android studio)on debug m

Show Current Location and Update Location in MKMapView in Swift

I am learning how to use the new Swift language (only Swift, no Objective-C). To do it, I want to do a simple view with a map (MKMapView). I want to find and up

How to change font of UIButton with Swift

I am trying to change the font of a UIButton using Swift... myButton.font = UIFont(name: "...", 10) However .font is deprecated and I'm not sure how to chang

How to detect if code is running in Main App or App Extension Target?

Does anyone know how you detect from within your code if you're running inside an App Extension? I have an app which shares classes between an app and an exten

Failed to render and update auto layout status, Failed to launch designables agent because tool was shutting down

I start working on an iOS project and it's using IB and storyboard. I build it after cloning from the repository and it was successful. But the problem is after

AVPlayer layer not showing video content sometimes

AVPlayer layer not showing video content sometimes but plays audio. This happens some times not each time Here is my lines of code : override func viewDidLoa

Audio.play() causes tiny lag

Problem: I have made a flappy-bird like game using Three.js. Everytime I tap the screen, a "flap"-sound is played. However playing this audio causes a tiny lagg

Error: No Firebase App '[DEFAULT]' has been created - call Firebase App.initializeApp()

I have a firebase database linked up to two apps, one being an iOS app and another being a web app coded in node.js which is a basic algorithm that sets data to

"Undefined symbol: protocol descriptor for Swift.ExpressibleByFloatLiteral" issue while installing react native on macOS Big Sur

I was trying to install React Native on my system, and found that it failed to install CocoaPods dependencies which is required by that template error. sudo arc

How to call a function from a different swift file

I have multiple swift files of type UIViewController in my Xcode 6 beta-2 project. I basically want to know some data from file A to use in file B. My files are

how i can scan ID Card(NIC) in flutter and also get data from it?

I am building an app in flutter and in that app one step is to scan an id card (NIC) and get their name, DOB, expiry date, etc, so I am confusing that how I can

Draw route directions using Google Maps iOS

I am getting a GMSPolyline to custom location but I am not getting a route direction (GMSPolyline) from user location to some custom location. What I have done

Firebase In-app messaging opens the URL with link only once in swift

I have a strange problem with firebase in-app message for iOS in swift. the message is getting displayed during the launch as expected,i was sending a URL with

Make a UIButton programmatically in Swift

I am trying to build UIs programmatically with Swift. How can I get this action working? override func viewDidLoad() { super.viewDidLoad() // Do any add

iOS image editor in swift

Is it possible to us iOS default image editor my existing app, like screenshot

How to set the value of checkboxes with a single variable

Hello folks of StackOverflow today I bring forth an optimization problem for you in swift As shown in the screenshot I have checkboxes in my screen and I have