Category "ios"

How to get system music queue from MusicKit?

I'm using MusicKit to build an iOS app that manages the queue of Apple Music. I am able to get the current item in the queue by: SystemMusicPlayer.shared.queue.

Change compact date picker text color. Always black

I have inserted a UIDatePicker in .compact format, only date, in Swift. I have done several tests and read many posts but I can not change the color of the text

Customisable SwiftUI Refresh spinner

I currently have a simple SwiftUI ScrollView that contains a single element. I have added the .refreshable(action: ) property to allow (pull down) refreshing of

button appearing on android but not ios

I am playing around with a three.js AR build (using a platform called 8th Wall). I have a button that turns the volume on my video object on and off. It works

WKWebView prevent use Live Broadcast Camera

I am trying to use the angular ngx-webcam library to use the IOS camera via WKWebView, but the camera opens in live broadcast mode and not as I want

Is there any possibility to get any event triggered when signout from TVProvider in apple tv setings

When application in background. Then signOut from TVProvider in apple tv settings. Is there any possibility to catch that event? Thanks!!

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