Ios swift – How to change SwiftUI TabView dot indicator shape?
I want to change the shape of the dot to a rounded rectangle which ever tab is selected. First Image is the current dot style paging: But I want it to change to 2nd Image kind of:
I want to change the shape of the dot to a rounded rectangle which ever tab is selected. First Image is the current dot style paging: But I want it to change to 2nd Image kind of:
I'm animating a line horizontally and it works fine, except that the effect I'm aiming for is to have a slight springy bounce before it alternates sides. I thought the .easeInOut effect would emulate that but it doesn't feel springy.…
Currently, we are implementing an undo/redo feature in UITextView. However, we cannot use the built-in UndoManager in UITextView because we have multiple UITextView instances inside a UICollectionView. Since UICollectionView recycles UITextView instances, the same UITextView might be reused in different…
I keep getting the following exception in flutter when I try to open the ReaderWidget of this example from the zxing library: [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: CameraException(channel-error, Unable to establish connection on channel: "dev.flutter.pigeon.camera_avfoundation.CameraApi.getAvailableCameras".) #0 AVFoundationCamera.availableCameras (package:camera_avfoundation/src/avfoundation_camera.dart:76:7) <asynchronous suspension> #1 _ReaderWidgetState.initStateAsync.<anonymous…
I added the google_mobile_ads sdk v11.6.0 in my swift project. Now when I run the project I get the following error ld: warning: Could not find or use auto-linked library 'swiftXPC': library 'swiftXPC' not found ld: warning: Could not find…
I have this code in Swift (iOS 16+) and I have a login screen into my app, where the user needs to enter an email and password. I also have a .onTapGesture method on the GeometryReader { ... } wrapping…
This is how my UIButton is defined and initialized: lazy var addButton: UIButton = { let button = UIButton(radius: 32, title: "+", font: .poppinsRegular.withSize(40), backgroundColor: .purple) button.menu = UIMenu(title: "") button.showsMenuAsPrimaryAction = true return button }() extension UIButton { convenience…
I am trying to use Firebase in my iOS app. I have installed the SDK using cocoapods as incstructed by Firebase's docs (here) However, when I build by app I face an error of conditional binding in the source files…
I have a custom navigation bar with the superclass UINavigationBar with a custom navigation controller with the superclass UINavigationController. I added a button to the left side of my navigation bar. I also changed the navigation bar height and changed…
I'm trying to test flutter app using Azure DevOps and Appium. My CI/CD pipeline contains 2 major jobs - build app & run tests. First job creates .app file and passes it as an artifact to the second job. To…