Category "ios"

DeprecationWarning: desired_capabilities has been deprecated, please pass in an Options object with options kwarg super().__init__(

import pytest from appium import webdriver class Test: def setup_class(self): print("setup from here") desired_caps = dict() desire

IOS App Crashes with EXC_BREAKPOINT (SIGTRAP) After React Native Upgrade

We have an app built with React Native, and recently the version was upgraded to 0.67.2, including some dependencies of the package.json. The problem is that ma

Big ugly play button on FireFox or IOS

Does anyone know how to get rid of this big ugly PLAY button on FireFox or IOS when I add a video background to my Web site? I tried adding all types of CSS, s

how can I edit lots of swift string at once?

In my project, I have Localizable.string file which is having more than 10,000 lines keyValue format. I need to convert all of keys which are dotCase format lik

Returning data from async call in Swift function

I have created a utility class in my Swift project that handles all the REST requests and responses. I have built a simple REST API so I can test my code. I hav

Flutter web done button has container at top of keyboard

I had an app that use flutter for web. every i focus on textfield and pressed the button 'done' at top keyboard of phone it will be close the keyboard but when

How can I detect a server ping using URLSessionWebSocketTask?

Using URLSessionWebSocketTask, a server ping is automatically responded to by a pong from the client. Still, can the client observe that a ping/pong occurred? (

Undefined symbol when I build an installed cocoa pod of Mediation Test Suite

We are trying to implement the Mediation Test Suite but, we are getting the following error message: Undefined symbols for architecture arm64: "_kGADSimulato

UICollection View "Reload Data" After Scrolling Crash

I have made a collection view with cells arranged in rows in columns using a great tutorial. I have added a button to a toolbar in the main view controller tha

SwiftUI set corner radius depending on its own height

When I set corner radius with constant value, depending on the size of the image, the results don't come out the way I want. Image(“myImage”) .c

Combine bind Publisher to PassthroughSubject

This question has effectively been asked before (Combine assign publisher to PassthroughSubject) but the answer assumed the architecture of the question's examp

How to fix EXC_CRASH (SIGKILL) watchdog termination?

I am running into a watchdog termination crash. After watching this WWDC session and reading the relevant documentation about watchdog crashes, I suspect there

SwiftUI app doesn't run when supporting iOS 13

App was working fine when the deployment target was 15.2, but then I needed to change the deployment target to iOS 13 to support more devices. Still works fine

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