Category "ios"

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

Open installed PWA from external url

Is there any method to open website (PWA) urls in the installed PWA in iOS- Safari? Use case: I'm sending email links to login in my PWA, how can I make this

iOS PWA 'added to home screen' cache is expiring after a day

I'm building an installable PWA from a CRA. I've added a custom service worker that caches all external requests using the service worker cache API. After the f

terrain lighting issue Unity

I'm getting some weird effect on my terrain on iOS devices. In editor, it looks fine; on device it shows the light like the image below. The textures on the ter

React Navigation Error, Invariant Violation: requireNativeComponent: "RNSScreenStackHeaderConfig" was not found in the UIManager

Recently I have began development in react-native and have been trying to build an app. I successfully implemented react navigation initially, but after I tried

Problem with Flutter fastlane with flavors

Has anyone used fastlane with flutter and two flavors? I have a flutter application with two schemes App_A and App_B. I am trying to configure fastlane for conf

Swift Add Footer View In UITableView

This is actually a tableview and tableview cell, and i wanted to add a Submit button after the end of the tableview cell, but how do i do it? I tried to do it

How to download and decrypt HTTP Live Streaming (HLS) videos in iOS?

I want to download M3U8 file chunks (HLS) and store that video (after decrypting it) for later viewing. I have made a demo to play M3U8 file but I want to downl

Swift & Navigation : Navigation Bar changes its background color when scroll the view

I have 2 ViewControllers embedded in a Navigation Controller shown in the picture below. Every time I scroll through my table item, the navigation background c

Blank Map with Mapbox and SwiftUI

I try to use Mapbox with SwiftUI. I applied this answer https://stackoverflow.com/a/56551675/5653544 and also followed the mapbox tutorial. So I have a MapV

AppIcon is not displaying on SignIn with Apple login pop-up

This application is for iPhone only. This project is in flutter and AWS Cognito is used for social login. check this documentation AppIcon is not displaying in

Listen for documents just when actually added to collection - swift

I have a collection on Firestore and I listen for changes like this: func createMatchesListener(){ let db = Firestore.firestore() guard let current

didUpdateLocations never called

I'm trying to get the user's location. To do so I have set the following property in the info.plist : I have also added the following code in my viewDidLoad

Reading Firebase Auth Error Thrown (Firebase 3.x and Swift)

I'm having trouble figuring out how to read the FIRAuthErrorNameKey in the new version of Firebase. The following is what I have so far, but the "let errorCode

Does Firebase Cloud Messaging support VOIP pushkit services?

Does anyone has an idea about Firebase Cloud Messaging support VOIP pushkit services. If yes then can someone please do provide guidelines for same. Same thin