Category "ios"

Use also the option allow access to all photos in limited access dialog

I want to show the option to give access to all photos also in the limited photo library picker. I now go to the settings, but when returning to my app, it's ki

HLS player is not streaming

I have a stream url which is getting from server. The streaming url is working in android and web, but whenever I try to play that ham getting a black screen wi

My view doesn't update after modifying an object of a list inside an ObservableObject

I am new to SwiftUI. Imagine I am building an app for a shop. I have a view that is a list of the details of a product, and two buttons: Pin (add to favorites)

Xcode 13.3 Apple Watch app targets ((null)) CFBundleShortVersionString

Since updating to Xcode 13.3 (13E113), out WatchKit target fails to build in the ValidateEmbeddedBinary step with the error message: error: The value of CFBund

Access health sensors on Apple Watch

Can I access the health sensors of the apple watch? I want to get SpO2 measurements or heartbeat intervals when I start a measurement. Is this feasible? I can s

Voxeet UXKit Cordova - Cant install cordova plugin missing "Carthage/Build/VoxeetUXKit.xcframework

I use this plugin for a cordova app and I didn`t ahve any problem on Android platform, is working as expected but Ican't install it on IOS. After cordova-instal

Xcode version 13.3.1: Update to recommended settings

I'm using the newest version of Xcode, version 13.3.1 (13E500a). Xcode currently shows a yellow warning sign Update to recommended settings. When I click on thi

Views at depth with root view - recursive?

I am trying to write a function to return all children of a view at a given depth : /// Write the body of the function `views(atDepth:withRootView:)` /// which

How And Where Do Meditation Apps Store Their Audio Files?

I'm building a Flutter app that plays audio files. I have hundreds of audio files that are too large to store in the app. So, I want to host the files, then str

Table View is empty when I switch Tab Bar controller screens

I have a Tab bar Controller to manage all the views. The problem I'm having is when I call a function in searchViewController (doAThing()) from HomeViewControll

Swift - Re-add time back into Timer

I have a countdown Timer that shows seconds and milliseconds. The user can start/stop recording multiple times until the timer hits zero. The user can also dele

Is it possible to use camera permission but block "Take video" option in a iOS App?

I'm working on a hybrid project that uses cordova for building both iOS and Android. My problem is with iOS uploads. There's an option for "uploading" photo, wh

Make Custom SwiftLint action regex ignore comments

I have a custom SwiftLint action to flag up print() statements: custom_rules: disable_print: included: ".*\\.swift" name: "print usage" re

React Native WebView - Can't access to camera with Expo

I am trying to create a WebView that accesses the camera while the session. In Android - the WebView can't find the camera and throw an error. In IOS - the WebV

How do I stop physicsbody's from falling in SpriteKit?

I am making a game in Swift using spritekit and I want 2 objects on screen, one that I move with the touchesMoved function (player) and the other to stay still

Force ViewController light mode but keep WKWebView mode adaptable

I'm using the newest version of Xcode for my iOS app. I'm stuck with one small task since hours: I want to force my View Controller to always stay in light mode

How to cache response in iOS and show only when internet is not available?

I want to cache the response of API. When the internet is available it should fetch data from the server and should update locally cached data every time and wh

Why is are the images being cut off?

The images in my 'tiles' are being cut off at the sides. I am trying to create a tile for each 'product' that displays an image, name and subtitle. Everything n

overrideUserInterfaceStyle not working in AppDelegate

I'm building an iOS app with the newest version of Xcode. If I set overrideUserInterfaceStyle = .light to a View Controller, it will get set to light mode, als

best practice handling NSManagedObjects and CoreData in multiple VC's

i'd could use your advice on this one i restructured my whole app, to use coreData so i'd be able to save the Main Class of my app: "FooBar" i also transfered m