688,465
questions
0
votes
0
answers
5
views
How do I send a local file attachment on Expo Notifications IOS Attachments?
Similar to UNNotificationAttachment failing to attach image but Expo specific.
Based on the question I refered, it supposedly needs to have a separate file. So what I did was.
const [localAssets] = ...
0
votes
0
answers
8
views
Firestore documents caching in Firebase IOS SDK
I have read in the documentation that Firebase SDK automatically deletes least used documents from the cache. I am having a problem predicting what would happen in my following situation:
In my Home ...
-4
votes
0
answers
16
views
How to find the country name without using location manager [closed]
I am trying to collect meta details about the users so how do I find the my user's country detail.
Ofcourse I can easily find using location manager but I don't want to drain my user's battery.
I ...
-1
votes
0
answers
7
views
Cycle in dependencies between targets 'WatchApp' and 'App'; building could produce unreliable results
I'm trying to create a watch app for my current iOS app, but even though I'm not importing any frameworks or dependencies in my watch target, it gives me this error:
Cycle in dependencies between ...
-2
votes
0
answers
8
views
Web Audio is muted when the Physical Silent Switch on iphone is ON
I have an app that plays audio after user selects a track. I recently noticed that the audio is not playing on iphone when the Mute Switch is switched ON.
The audio from other browser media apps like ...
0
votes
0
answers
10
views
Can't connect with Mongokitten from iOS device
I setup a connection to a MongoDB database with Mongokitten.
This is the code I do to manage the connection :
class MongoManager {
static let shared = MongoManager()
private var collIndex: ...
0
votes
0
answers
12
views
SK3DNode unable to set scene's background color
I have this minimum reproducible code:
class GameViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
if let view = self.view as! SKView? {
...
1
vote
1
answer
21
views
Kivy Targeting IOS Kivy-ios libffi "C compiler cannot create executables" Error
Im trying to compile simple kivy app to IOS.
System:
-Sonoma 14.6
-Apple M3 Chip
main.py:
from kivy.app import App
from kivy.uix.boxlayout import BoxLayout
from kivy.uix.button import Button
from kivy....
0
votes
1
answer
28
views
SwiftUI DragGesture stops responding when removing the last item in a row of a 2D array mid-gesture
I’m building a SwiftUI view with draggable items organized in a 2D array (array of arrays). I want to allow items to be moved between rows while dragging, specifically moving the item mid-gesture once ...
0
votes
0
answers
7
views
aria-label content is not being read by iOS VoiceOver on iOS 17.7 for a disabled button
The below element is a disabled button on a web page. When using screen readers on Android and JAWS on desktop, the element is announced as "Button Text Disabled button". On iOS using ...
1
vote
0
answers
24
views
iOS User Notifications: Prerequisites for a scheduled notification to appear?
For getting familiar with iOS User Notification I made a trial-app.
Here's the source-code:
import SwiftUI
import UserNotifications
struct ContentView: View {
var body: some View {
VStack(...
-4
votes
0
answers
44
views
Is there a way in Swift to use iPhone/iPad camera to measure distance (i.e. how far away something is)? [closed]
I've been trying to build a program which can measure the distance to an obstacle and don't know where to start. The purpose of this program is to throw virtual objects (a random number of meters) and ...
0
votes
0
answers
19
views
SK3DNode taking up the whole screen despite the frame
I have the following minimum reproducible code:
class GameViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
if let view = self.view as! SKView? {
...
0
votes
0
answers
39
views
How to manage "range" of the x-axis in SwiftUI Charts?
My chart
Apple chart
I would like to manage the time range between other values in chart so smoothly like it is in e.g. the iOS Health app. How to modify the range of the chart between e.g. a 3-mouth ...
0
votes
0
answers
25
views
Which iOS version is compatible with NSExtensionPointIdentifier key "com.apple.quicklook.preview" Quicklook Preview Extension
I am creating an iOS app to install on legacy iPads running iOS 9 and up, using XCode 13.4.1 which is the latest version that will support iOS below 11. The app is working fine but I just added a ...