Category "ios"

Swift packages with the same name causing errors

I am trying to import two packages, both called PushNotifications, into Swift Package Manager. I need them both. However as they both have the same name I get t

What is the endian order of the host machine/device?

Actually the initial question was: "What exactly the kCGBitmapByteOrderDefault is?" Because sometimes CGImageGetByteOrderInfo(CGImageRef image) returns kCGBitma

List all files in an iCloud folder

I want to search a folder that exists in my iCloud Drive for files. How can I get the paths of all files inside an iCloud folder on an iOS device or on Mac (via

Unable to open url to the Mac App Store in an iOS app launched on Mac with Apple Silicon

I have this code to open a link to the App Store for the user to write a review: guard var urlComponents = URLComponents(string: "https://apps.apple.com/app/any

ARKit - AR using ultra wide camera 0.5 on iPhone 13 Pro

Goal: An AR app using the ultra wide camera 0.5 on iPhone 13 Pro. Tried: The documentation is very scarce, and shows only how to switch between front or back ca

Linking models to assets on Swift Playgrounds for iPad (no Xcode) -- iOS App Dev Tutorials

StackOverflow. This is my first post. Please excuse any issues with the format. I've been trying to teach myself some iOS development in order to create an app

Encoding Realm models using @Persisted gives a Swift EncodingError message

When trying to encode this: class MyClass: Object, Codable { @Persisted var someValue: String } // I've created and added MyClass to Realm. I then query for

What happens to old app data written in another language when you release a new version of the App written in Flutter?

So I have my app released which was written in another older framework (non flutter). I've since rewritten the app from scratch in Flutter. The app, while func

Admob crash on iPad with Window container should not be nil

I am trying to integrate Admob. SDK version is 9.0. I copied the code from https://medium.com/geekculture/adding-google-mobile-ads-admob-to-your-swiftui-app-in-

Inserting objective-c sample code sections into a working xCode objective-c IOS project

I am trying to implement an answer to an old question. Here is that answer https://stackoverflow.com/a/26725721/1984167 And here are the code sections suggested

Capacitor iOS Using Cookie Based Auth

I am using Capacitor v3, NextJS static export, and a Django backend to build out an iOS app based on a production website. The current backend authentication sc

Status bar issue in device dark mode

I am adding an option to add an option for users to choose system/light/dark modes. I am storing user choice in user defaults. Below is my code in AppDelegate a

How to navigate to new page using flutter?

I want to click each navigation item and direct it to another activity. I actually want to show the list view of 'now playing movie'. When I click that drawer i

React native not displaying presigned AWS S3 URL coming from backend

I have a React Native snippet like this to show images in a flatlist card. <Image style={subheader.image} source = {{uri : image_url}} /> image_url has v

Why is ForEach not changing my Foreground color correctly in SwiftUI?

I am trying to make a simple Todo app and I'm trying to implement a feature where if I click on a row, the foreground color will be change. However, I have two

Black screen Unity AR Foundation - camera not working

Cannot use the camera for an AR Unity App. When launching the app on an iOS device, the screen is totally black. I'm running Unity version 2021.3

Is there a way in Acrobat (ios or android) to send an email of a completed PDF form to an address that is entered in a field on the same form?

I have some javascript in an acrobat form PDF that works fairly well on a PC, but doesn't work on an ios device. My goal is to send an email to an address that

How to add widgets while Kivy app is running?

I state that I am not an expert in Python and I started very recently with Kivy! I would like to know if it is possible, and if it makes sense, to add widgets s

Failed to package flutter xcode

I am trying to run my flutter project on my ios device, but I got an error in the xcode that says "Failed to package /Users/user/StudioProjects/project." Any so

Cannot download file when using Chrome on an iOS device

I am working on an Angular application which connects with a Web Api to download files as a Blob. The files get downloaded fine on all mobile devices with the e