Category "ios"

Unable to mutate user attributes using iOS Cognito UserPool SDK after signup

I am trying to change a user's attribute (i.e family name) after they have signed up. This is an attribute that has been selected in the cognito user pool and w

SwiftUI MVVM Coordinator/Router/NavigationLink

I am having problems to translate UIKit architecture patterns to SwiftUI. My current pattern is mostly MVVM with Coordinators/Routers. The MVVM part seems quite

Swift Package Manager could not be resolved all libraries, project

This error always happens whenever I add a new Package via Swift Package Manager in Xcode: Cannot fetch library I've already configured my GitHub Auth Token

How to detect current device using SwiftUI?

I am trying to determine whether the device being used is iPhone or iPad. Please see this question: Detect current device with UI_USER_INTERFACE_IDIOM() in Swi

Manually set light/dark mode in SwiftUI and save users choice

I found a solution to manually set light/dark mode in a swiftui app in another thread found here https://stackoverflow.com/a/58476468/11698443 it mostly works,

Flutter with flavors not building to iOS

Goody day, When building to android I have no issues with using the flavors. This is not the case for iOS, I receive the following error: Finished with error

TableView scrolling to top after applying UITableViewDiffableDataSource snapshot

I'm doing pagination using UITableViewDataSourcePrefetching. The values will be taken from the Realm local storage. I will get an array of objects. These values

iOS ShareContext tapping on Suggestion Intent property of extensionContext is nil

I have a ShareExtension in my iOS app. I am trying to use Suggestions. I can successfully 'donate' the intent using the following code from the apple develope

New build disappears after uploading it to iTunes Connect

I'm trying to upload a build to iTunesConnect with Xcode 8. Xcode shows me that the uploading is successful. In Activity tab of iTunesConnect I see that my buil

Autoresizing issue in Xcode 8

=== EDIT ======== This issue is now solved in Xcode 8.1. I have checked. ================ I don't know auto-layout properly. So, I am using autoresizing opti

App Store Connect: automate releasing/updating app after submit for review with "Manually release this version"

This may sound paradoxical. My goal is to find a tool which automates the process of logging in to App Store Connect, and click the Make App Available button. T

Lottie Splash screen and 'AppDelegate.m' error

I'm implementing Lottie Splash Screen on my project, I have followed all the steps on Lottie's page (https://www.npmjs.com/package/react-native-lottie-splash-sc

Godot export to IOS failed

i want to export godot project to ios project. But when exporting, i got this "Project /godot_ios.xcodeproj cannot be opened because the project file cannot be

FCM push notifications only works on Android, but only the message is sent to both Android and IOS

In our backend we are raising events for creating push notifications and message only through FCM (separated). One "message"(data only) for customer and the cl

React Native - how to set fixed width to individual characters (number, letter, etc)

I am having a problem in a React Native app I'm building. I have a stopwatch and since each number character has a different width, when the time is increased t

How do I make a hexagon with 6 triangular SCNNodes?

I'm trying to make a hexagon grid with triangles without altering any pivot points, but I can't seem to position the triangles correctly to make single hexagon.

"Automation Running Hold both volume buttons to stop", how to loose this grey transparent overlay message on iPhone screen while testing using Appium

I am testing an application on iPhone real device using appium. I always see a grey transparent overlay message on the screen which sometimes interferes with th

Apple Health Kit Data via Rest API

Are there any third party which provide data of apple health kit data using there end points like google fit provide us via rest api's https://developers.google

How can I perform an Array Slice in Swift?

var mentions = ["@alex", "@jason", "@jessica", "@john"] I want to limit my array to 3 items, so I want to splice it: var slice = [String]() if mentions.count

How to get All Extensions for UTType Image, Audio, and Video

Is there a way to get All of the different UTType extension types as Strings? I need them specifically for images, audio, and video. I followed this answer, but