Category "ios"

Which button was pressed in a custom swift cell

I am using three separate SWIFT buttons in custom cell in a tableView. Each button is a counter and therefore, I increment the label/text of the button when it

OTC View autolayout in SwiftUI

I'm new to swiftui and swift basically, i made One-time-code screen, and here i have a problem. When i run project on my old phone (iphone 6) when keyboard appe

gRPC-Core issue in Xcode - Value conversion issue - Implicit conversion loses integer precision

My code works perfectly fine. I have installed the Firebase Auth Package and it doesn't give me any errors. But as soon I add the FireStore Package then I start

UI Testing failure - App state is XCApplicationStateRunningActive not XCApplicationStateNotRunning

I am using XCUI tests to automate testing of some of the flows in our application (~35 test scenarios) with Xcode 7.2.1 Running these tests locally will consis

iOS run two simulators failed: Unable to lookup in current state: Shutdown

I'm trying to run my (React native) app on more simulators. yarn run ios --simulator="iPhone SE" # also tried yarn run ios --simulator="iPhone SE (2nd generatio

Strange behavior with cursor position while deleting with libPhoneNumber-iOS

I using library libPhoneNumber-iOS for formatting phone numbers in my app. When I deleting text from the end of the text field, all works fine, but if the cu

Round only 2 corners of a UIView in custom UITableViewCell - iOS

I have a UIView in a custom UITableViewCell and I want to round just bottom Left and Right corners of that view. I'm doing the following, but it's not working:

Error when building ios application using fastlane remotely

i am trying to fix an error which i get when i try to ssh into mac-mini and run fastlane remotely. The following build commands failed: CodeSign /Users/ec2-user

UIRefreshControl not showing in landscape when in a navigation controller with large titles

I have a plain UITableViewController embedded in a UINavigationController which prefers large titles. I added a refresh control to my table view controller. On

How to show MPMediaItem Artwork in a SwiftUI list?

I try to build a SwiftUI List of all local stored songs on my iPhone. Im using the MediaPlayer Framework of Apple to get the songs and storing them inside an En

Testing storyboard from within Swift Package

In the middle of factoring code from an app into a swift package and ran into a weird issue while adding test coverage. I reference the app's main storyboard in

Adding XCFramework to framework project gives error: Include of non-modular header inside framework module

We’ve been successfully using the ACRCloud iOS SDK in our iOS app. You simply download it, add their XCFramework to your project, and add the following to

Focus on the next TextField/SecureField in SwiftUI

I've built a login screen in SwiftUI. I want to focus on the password SecureField when the user is finished entering their email. How can I do this? struct Logi

Programmatically Change multiplier of Alignment Constraint of Center X / Y

How can I programmatically change the multiplier in the simplest way? For Swift 2.0

Padding HStack in the top of any screen

I want to put an HStack which contains two Texts in the top of any device screen. the problem is when I use padding that I have to decide fixed size of padding.

iOS Observatory not discovered after 30 seconds. Error launching application on iPhone

I'm unable to debug a freshly created app on physical iOS devices when pubspec dependencies reach a certain size, because it causes the "waiting for observatory

Locale.current reporting wrong language on device

I'm trying to format currency values in an iOS app, and I'm using the current Locale settings on the device to use the appropriate currency formatting. In the

Animating 3 dots in swift iOS

I have a label and an image view. My goal is to have 3 dots animating infront of the label and to be at the foot of the label at the end as shown here I have b

UPI deep link issue - iOS

This link is not working: urlString = "upi://pay?pa=samplevpa@ybl&pn=Sample Name&am=1&cu=INR".addingPercentEncoding(withAllowedCharacters: .urlQu

New React Native project with old version of react native

I am trying to create a new react native project which should utilize an older version of react-native. The result I would like would be to do something like: