Category "ios"

Firebase In-App Messaging, Test on Device not show up on real device

I am starting to utilize the In-app messaging feature of firebase. I didn't create a real campaign yet, but only use the the [Test on Device] when creating one.

Cancelling an async/await Network Request

I have a networking layer that currently uses completion handlers to deliver a result on the operation is complete. As I support a number of iOS versions, I ins

UIImage(named:) with period loads wrong image (e.g. for SFSymbols)

I want an easy way to load SFSymbol images with configuration, if possible. Else just load the image normally. So I have this extension and I have all SFSymbols

Is it possible to prevent UIMenuController from being dismissed when one of it's UIMenuItems is selected?

The default behaviour is that selecting an item will dismiss the menu. I see that some Apple's apps have items which will do some action but keep the menu open.

How send an https request in swift with .crt and .key files

I'm developing an ios (ipad) application with swift. I'm able to send an http request with a URLSession object and it works well. Now I would like to know how s

Unknown error calling sqlite3_step (11: database disk image is malformed) eu : iOS

I am working on an iOS App, using SQLite DB. The app has a functionality where on opening the app, records from the server are inserted into the local SQLite db

SwiftUI Custom Picker Label Not Rendering

After updating to iOS 15 and Xcode 13, my picker in my app is no longer showing a custom label. Running the app on an iOS 14 device, the pickers render fine. Th

Vibrate after a button is clicked (x) amount of times

As the title says i am trying to trigger a vibration when the button is clicked x amount of times. For example when the button is clicked 3 times I want a vibra

Flutter won't compile a release build of my app?

After working on this app I tried to build my app to iOS using the flutter run --release command. But whenever I do I get this error *Could not build the precom

Visual Studio, Maui, dotnet publish. Unable to authenticate using the following authentication method: KeyboardInteractiveAuthenticationMethod

When publishing Maui (preview 14) App in Visual Studio 2022 (Preview 2.1) connected to Mac Mini (M1) the publishing fails on code sign, but it seems to be some

"Image Literal" commands not working in Xcode

I started studying swift language n there is a command Image Literal to add an image but it's not showing up anything. other than that if I try any other coding

React Native iOS "Show Inspector" pushed to the bottom of screen

The "Show Inspector" hud overlay is pushed to the bottom of the screen (see image), how can I open it correct? I've tried clicking on the tabs and dragging it b

Compositional layout with centred items and centred paging

Need some help here. I'm building an interesting layout, where cells are centered depending on their count. Probably, best thing to explain is to illustrate a l

Make different collapsable sections in tableView swift iOS

I want to implement the different expand/collapse section in tableView and each sections contain the different kind of data.I'm getting the index of section whe

UITabBarAppearance does not work on iOS15 iPad (title color)

I created a simple demo and only created a UITabBarController's subclass and set in storyboard. I want to set the TabBarButtonItem's title to an orange color wh

FlutterError : The key [LabeledGlobalKey<FormState>] was used by multiple widgets

I'm getting an error while trying to navigate to the menu_screen widget. I'm pretty sure that the GlobalKey menuFormKey is not used inside another widget but I

Can one implement an update system like the CoinMarketCap app in Ionic

I'm currently building an Ionic app which will be getting very frequent updates. If possible, I want to avoid sending users to the app/play store each time I pu

Get coordinates in real time of a moving view in SwiftUI

I am moving a view called Point (which is basically a point), the point is moving in the screen every 2 seconds, and I need to update the coordinates in real ti

Update Label Text with Timer Values

I know there are a lot of answers out there about similar issues, but it seems all of them are don't fit to my problem. And I am new to Swift and my head is bur

Invariant Violation: requireNativeComponent: "BVLinearGradient"

I have been working with the react-native-gradient and I am getting the following error regarding the package. Error Invariant Violation: requireNativeComponent