Category "ios"

How to switch the statusBarStyle with the new syntax to remove deprecated warnings?

how am I supposed to change this piece of code? The current solutions for this problem either cover older iOS versions or are unanswered. This is the line: UIAp

How to upload video chunks to server and download them in real time in iOS

I'm creating an iOS app where I want a user to be able to live stream a video, however, users who join the live stream after it starts, start watching the strea

MVVM in TableView Cell

hope you're well, i am working on an app which uses TableView for showing feeds to user using ViewModel and my ViewModel contains a variable which contains data

Paste from clipboard not working with React Native on iOS simulator

As the title says, I'm working on an app that has an input text and when I tried pasting text I had on the clipboard, it wouldn't do anything, but it shows the

ios shortcuts : Extract dictionnary key from choose list

I have a dictionary as an entry for a list of choices : I can select the desired item from the list but I don't know how to extract its key ? Actually, when I

Is it possible to load a 24-bits BMP with a native iOS API?

I'm programming an app for a device whose API give us a const char* to an array of bytes that correspond to the pixel data of a BMP with a colour depth of 24-bi

React native html to pdf

I am using this code and it works fine in simulator as I am getting a location and can get pdf file from there async createPDF() { let options = { html

Is there a website fix for images not displaying after ios update to 15.4.1

A recent update to ios 15.4.1 has resulted in some images not displaying on my (Wordpress) website, for users only on affected ios devices. A 'fix' for this iss

Flutter SafeArea: avoid notches, but ignore rounded corners

Is there a way to detect and avoid notches in a phone's screen (for example, the camera notch in an iPhone X), but ignore a screen's rounded corners? For exampl

Firebase notifications on ios - React native

I'm trying to get push notifications running with React Native on iOS and Android. To do so I am using firebase, as that seemed to be very convenient. On Androi

Xcode swift iOS project gives "usr/bin/python no such file or directory" error when try to build project

I am experiencing the problem after the macOS 12.3 Monterey update. I get the following error when I want to run the project. There is a code looking for "/usr/

Unable to get firebase messaging token. [Error: [messaging/unknown]. Too many server requests.] - React Native IOS

Im implementing Firebase Cloud Messaging notification for my React Native app. For Android, the notification works great, however, for the ios, I faced an error

Xcode randomly modifies my schemes content

Whenever I switch branch or trigger a build, I'm getting my xschemes modified by Xcode, it seemed to happens since the last OS version. My schemes are shared am

React native: lock screenOrientation on IOS phone

I'm stumped on something you guys may have encountered as well. I've tried to find a way to handle this without any success. Every lead I found did not match my

React native keyboard covering input

I have pages with inputs aligned to the bottom of the page, when the keyboard pops up it covers the inputs. To solve this I am using, KeyboardAwareScrollView Ho

App Tracking Transparency implementation with firebase/facebook analytics

Since ios 14 developers are required to use App Tracking Transparency framework to request permissions from user for tracking. My app is running in flutter and

Understanding MetricKit...didRecieve?

I recently added MetricKit to my app, and I've done the research and think I understand how this works by using the documentation example. I've added the Metri

Export Archive with Xcode13: The data couldn’t be read because it isn’t in the correct format

Xcode 13.2.1 Exporting Archive for Development team with "Distribute App" fails Xcode 13.1 - works on the same MacBook to export IPA for development distributio

Radio button style using icon buttons in flutter

I want to create a radio button style voting system using icons in Flutter (Dart) which looks like this: vote icons The concept is simple: The page will display

Auto flash on/off behaving weird with ambientIntensity of ARKit

I've implemented auto flash on-off using ARKit because I'm using ARKit on the same screen. Implementation: func session(_ session: ARSession, didUpdate frame: A