Category "ios"

-1103 Error Domain=NSURLErrorDomain Code=-1103 "resource exceeds maximum size" iOS 13

We are facing the following networking error when the response is somehow large(14kb) on iOS 13. [-1103] Error Domain=NSURLErrorDomain Code=-1103 "resource ex

App build with eas build crashes on start

I have a react-native app, I'm trying to test my app on ios&android ( testflight and playstore), app was build using eas build, but app crashes suddenly on

How to play video file from documentdirectory using avplayer

I am creating video player application in ios,if i store mp4 file in bundle resource or if i stream url it is working fine but if i store a file in document dir

Azure DevOps iOS and Android React Native Build Failing on Pod Install and Gradle Build Steps

I am trying to create CI/CD pipeline, for iOS and android, in Azure Devops for a React-Native app. With the android pipeline, whether I choose to create a yaml

SwiftUI: Translucent background for fullScreenCover

So technically I want to show a loading screen view. I'm using fullScreenCover. struct ContentView: View { @State private var isLoading = false

ViewContext not receiving updates from newBackgroundContext()

There is a similar question in stack overflow already but it doesn't work for me. There is a use case in my application where I have to observe the database ch

Swift 3: UITextView - Dynanmic height - Programmatically

I have a keyboardContainer class (Subclass of UIView / created programmatically so no storyboard) including a UITextView for the user to type messages in. It is

Is it possible to get current time at compile time for dart/flutter projects?

While writing add to app (Flutter embedding) for a complex iOS app, I run into the issue of sometimes derivedData not deleting properly, or odd things that make

ToolbarItemGroup in .toolbar {} doesn't work in a Sheet

I'm using SwiftUI 3.0, Swift 5.5 and Xcode 13.2, tested on iOS 15.3 iPhone device, and iOS 15.2 iPhone simulator. I have tested the following. This is a view, w

SwiftUI .onTapGesture always higher priority than .swipeActions

How do I make my the code in .swipeActions be called instead of the one in .onTapGesture? I have a SwiftUI view like follows: struct ContentView: View {

Why does iOS Password Autofill not prompt to save password on keychain?

I am setting up iOS Autofill Password in my app, and I followed all the guidelines in this tutorial https://medium.com/developerinsider/ios12-password-autofill-

How to change "Cancel" button text in modal sheet view in SwiftUI on watchOS 7?

I have 2 simple views: import SwiftUI struct ContentView: View { @State private var showingModalView = false var body: some View { Button(

Duplicate toolbar in SwiftUI

I added toolbar to 2 text fields, but the toolbar shows up twice: This is the code for my custom text field: public struct SUIDecimalField: View { public var

Cordova InAppBrowser - How to return to app on iOS device after clicking link

I am trying to allow the user of my Cordova Appery.io iOS app to click a link in the app to visit a website and be able to return to the mobile app. The issue

iOS SwiftUI: pop or dismiss view programmatically

I couldn't find any reference about any ways to make a pop or a dismiss programmatically of my presented view with SwiftUI. Seems to me that the only way is to

Unabled to create single view ios app in xcode

I am new to ios/xcode and I was trying to follow through the new SwiftUI tutorial. The first one has you create a ios single view app . However when I go to xco

What is the difference between ObjectBinding and EnvironmentObject?

What is the purpose of @EnvironmentObject when we have @Binding property wrapper ? I am having trouble figuring out why @EnvironmentObject is needed. I took a l

IPA file made by pipeline is not working in browserstack

When the pipeline finishes building react-native ios app. It creates an artifact IPA file. Usually, it works fine but for several times we get 'app_install_erro

Unity Metal: Compute shader has 1024 threads in a thread group which is more than the supported max of 512 in this device

I'm compiling a code for unity ios build and keep getting the following error Metal: Compute shader has 1024 threads in a thread group which is more than the s

How to get index from Column, Row

I made a customGirdView like below, everything as I expected, but I want to make an event when I click an item, I cannot get the index of each item, it always t