Category "ios"

Beginner in Realm Swift - How to instantiate a new Realm in SwiftUI

I have a class DataEntry that I want to store instances of in a Realm database, but i'm having issue instantiating a Realm. Here is my DataEntry class: class Da

iOS MapBox fit camera to multiple coordinates [latitude and longitude] or annotations

in MapBox documentation for android there is LatLngBounds, but for iOS there are nothing, is there any way todo it for iOS

Flutter assets_audio_player

i have a problem with this package (https://pub.dev/packages/assets_audio_player), only and only on iOS after having lowered the volume of a song it does not ra

EXC_BREAKPOINT with very large line number value in crashlytics swift/ios

I am getting a worrying amount of EXC_BREAKPOINT crashes in crashlytics for my iOS swift app. I tried fixing the bug by looking at the method 'populate(user:wi

How can i show previous 30 days in my list calendar?

I have a calendar, that works correct but shows only current day and future. How can i set previous days? I'd like to highliht a current day but also give an op

Flutter : Issue with the dependencies in the project

I am using a prebuilt project and I am getting below issue with the three dependencies mentioned Error: Cannot run with sound null safety, because the followin

Banner of local notification from broadcast upload extension may not work

I implemented a broadcast upload extension and it requests local notifications. The local notification works normally, I mean that it works for both Banner and

iOS 13.4 simulator Capture Cursor issue

Xcode 11.4 brought with it a totally new and powerful simulator with a separate toolbar, and this toolbar contains a few buttons and the first one is called Cap

Firebase Authentication link not working - missing trailing slash?

I want to use Firebase email link authentication in my iOS (Flutter) app with a custom domain: The app requests Firebase Auth backend to send an email to the u

Problem with animation-fill-mode on iOS when changing orientation

I've created an animation to move an element into view when the user clicks somewhere. The element is styled to be offscreen. When the animation is run, it move

Firebase authentication - refreshToken automatic refresh

I am developing a react-native application which will use firebase authentication, and I have some doubts about how refresh tokens should work. I am using the r

Weview doesn't shirnk when keyboard is appeared on IOS

Problem: The height of webview doesn't reduce when I open up the keyborad on IOS I used a KeyboardAvoidingView wrap my Webview like this <KeyboardAvoidingV

React Native: How to get upload speed and network signal strength?

I am currently tasked with developing an application that gives the user various information and details about his network connection using React Native. The ma

iOS launch screen for light and dark modes

I follow the instruction in RSP-12931: Native resolution not supported on iPAD Pro to create an iOS LaunchScreen for my Delphi app. Now, with iOS 13, the proble

expo location permissions work on android, but not on iOS

I have a react-native app that uses expo. The location permissions work on android, but not on iOS. On a real iPhone (iOS version 14.4.2), it does nothing. On a

Circle in SwiftUI doesn't show in my iPhone

I have two Circles to show a circle progress bar, one of these is the progress the another one is the background, but the progress circle doesn't show in my iPh

SwiftUI View not updating based on @ObservedObject

In the following code, an observed object is updated but the View that observes it is not. Any idea why? The code presents on the screen 10 numbers (0..<10)

is it possible to send an action request to a mobile phone?

So I have an AWS EC2 instance. When ROUTE_1 receives a request from a mobile phone, I want the RESPONSE to the mobile phone to achieve three things in sequence.

SwiftUI - is it possible to get didSet to fire when changing a @Published struct?

I have just updated to XCode 11.4 and some of my code has stopped working. I have some @Published struct variables in an ObservableObject. Previously, when I up

How to get Text width with SwiftUI?

I would like to underline a title with a rectangle that should have the same width as the Text. First I create an underlined text as below: struct Title: View