I want to enumerate through an array in Swift, and remove certain items. I'm wondering if this is safe to do, and if not, how I'm supposed to achieve this.
Currently, I'd be doing this:
for (index, aString: String) in enumerate(array) {
//Some of...
I am recording and sending audio via a website. For that purpose I use the MediaRecorder API.
There are no issues when using the site on desktop or Android devices and according to the MediaRecorder documentation, since a release in September 2020,...
I'm using this Lottie library to render a lottie animation in SwiftUI.
This is my lottie file, as you can see it is flush against the left margin (left aligned)
Now I try to load this in my app in SwiftUI as follows:
VStack(alignment: .leading,...
I have downloaded Xcode 6.2 today which replaced previous Xcode 6.1
now to use simulator 7.1 & 8.1 it asks to download both simulators , but for some reason after trying 4-5 times it shows network issues in downloading or request time out (note: in...
I have a navbar with a tiltle and a search bar below it. When scrolling down, the shrinking of the navbar is not animated. Can I make it shrink gradually? Same as in the settings or messages apps. Also is it possbile to make it bounce? For example,...
It looks like for my app the firebase app check is not working with iOS16. I have configured the app attest and its been working for more than a year, it's still working with older iOS versions but not iOS 16.
I'm encountering an issue with the QR code scanner on my iPad 7th Gen running ipadOS 17.4. While the scanner seems to be functioning normally on the latest iPad 10th Gen (also on ipadOS 17.4), it's not working at all for ipad 7th gen (ipadOS 17.4)...
When making requests to a server, sometimes data is expected as a result (e.g. GET) and sometimes not (e.g. PUT). In my case, I have a websocket connection which is, amongst other things, used to tell the server things (no data returned), but also...
I am currently building an app in React Native with Expo and I want to have a screen where I display a video. I am currently trying to do that with Expo Video but it isn't going that well. Here is the code of the screen:
I'm working on a SwiftUI-based iPhone / iPad app and when I connect (via USB cable) my iPad to my Mac Mini (development machine where Xcode is running) it will sometimes give me the message shown below when I run the app from Xcode (in debug mode):...
I'm building a little game where ghosts fly around and the user has to click on them to collect points. When a ghost is clicked, a small sound effect is played.
This works smoothly on the PC, but on my iPhone 15 with Safari the sound effect is...
I'm creating an iOS application with support for Google OAuth2. After enabling OAuth2 in the developer console, I create credentials for an iOS client, but the redirect url (a custom URL scheme) is hardcoded and I cannot change it.
On IOS, Apple's AVSpeechSynthesizer offer's a write function, as an alternative to the speak() function, which gives you the speech as data (presumably to write the speech output to a file) instead of feeding it to audio.
In the WWDC talk Enhance your spatial computing app with RealityKit. we see how to create a portal effect with RealityKit. In the Encounter Dinosaurs experience on Vision Pro there is a similar portal, except this portal allows entities to stick out...
I have a square that is embedded within a scroll view inside a subview. When the square is clicked I want to animate it to the top of the view hierarchy and present it above everything else using a matched geometry effect. I cannot get the animation...
Вы не можете начинать темы Вы не можете отвечать на сообщения Вы не можете редактировать свои сообщения Вы не можете удалять свои сообщения Вы не можете добавлять вложения