Category "ios"

Is it possible to make the LazyVGrid header have the same appearance as a List header

Goal My goal is to make the LazyVGrid header look exactly the same as the List header. When utilizing the Grid view, the header is transparent and shows the con

Create common layout for Navigation Bar in SwiftUI So other SwiftUI views should reuse same Nav Bar

In iOS SwiftUI, How we can make a common layout for Navigation Bar. So we can use that in all project without re-write the same code. We can use ViewBuilder to

how to see the values I send with the in-app event to Appsflyer?

I used the this tutorial to capture logEvent and then send data to AppysFlyer as in-app events. I can find the event in the dashboard, for example, how many log

window.open() in button inside a web view app not working only on ios

I have created a web view app in swift. There I came up with one issue that following click event is not working. <button onclick=" window.open('https://www.

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