Category "ios"

Finding screen elements in appium(iOS) using contains

I am doing QA and recently started using appium and cucumber to automate some tests and am still new to this. I succeeded in what I wanted to automate using som

How does one use NavigationLink isActive binding when working with List in SwiftUI?

The use case is pretty simple. I have a List of places, and each corresponds to a geofence. I need to enable navigation in that particular row(s) whose geofence

UIActivityViewController on iPad

I have been using the code below to show a UIActivityViewController which worked fine when I was using Xcode 6, Swift 1.2 and iOS 8. However when I updated it s

Sparkle effect iOS

I want to create sparkle effect over an image as shown in the video Sparkle Effect the only way I could think of doing it animating each particle separately usi

Push Notifications take too long to arrive

I'm having a weird problem with push notifications in an adobe air app for iOS and Android. I'm using the Easy Push ANE from Milkman Games along with the One S

Offset doesn't reset after onTapGesture - SwiftUI

Im trying to create a card that slides when it is tapped on and then goes back to original position without tapping again the .onEnded() function of tap gesture

Detecting transparency in an image

I need to determine whether a png image contains any transparency - what would be the most efficient code to achieve this?

UIKeyboard issue in UITextfield and UITextview

I couldn’t able to enter space character in UITextview or UITextfield while tapping space from UIKeyboard. After multiple taps, a single space character w

Unable to activate constraint with anchors

So, I'm trying to create a sceneView programatically class ViewController: UIViewController, ARSCNViewDelegate { var sceneView: ARSCNView = ARSCNView()

Add "...Read More" to the end of UILabel

I have a UILabel and in some cases the text is longer then the UILabel itself, so I see the text as "bla bla bla..." I want to add a ...Read More button text at

Plugin should use a background thread ( Terminating app due to uncaught exception 'NSInvalidArgumentException' )

i am trying to use cordova keychain [plugin][1] for ios, inside my ionic application. but facing this error 6:48 PM2020-07-14 18:44:32.456726+0500 Farsh[1817:5

UICollectionView not calling moveItemAt:To: Data Source method in response to endInteractiveMovement()

I'm having a difficult time getting interactive reordering to work in a UICollectionView embedded in a subclassed UIViewController. There is no custom layout ob

How to create CGImage from CVPixelBuffer?

I have a simple function to create CGImage from CVPixelBuffer: if let buffer = (results as? [VNPixelBufferObservation])?.first { let pixelBuffer = buffer.pi

Flutter: Dismissable with Card and Margin

I'm building a simple listView in Flutter where the "cells" are simple Cards with a set margin. When dismissing these cards, the "margin" covers the dismissible

Auto login using UserDefaults() not working Swift 5

I have followed some tutorials and used their methods to implement auto login for my app, but once I relaunch the app after entering the credentials, the app do

A problem repeatedly occurred on safari IOS how to fix?

I am getting so annoyed with this problem (A problem repeatedly occurred error message) on ios iphone. Working hard to build a website but only iphone with rece

SwiftUI can not add onChange event

I have a view in which I display a list of my messages. Whenever a new message is added I want to scroll to the bottom. I am trying to add an onChange event to

Disable swipe back gesture in Swift

Been looking around on here for a while but can't seem to find a working solution. I'm trying to disable the swipe to go back to previous view gesture, in Swif

How do i get past purchases in In App Purchase flutter?

I've developed application with in app purchase functionality. And for that i used in_app_purchase package. In previous version i'm getting past purchases. but

How to resolve error of "errSecInternalComponent" while building archive for appstore?

I am trying to submit flutter app to Appstore. Here are the steps I followed: Deleted all certificates and provisioning profiles Create/Add IOS Distribution Cer