Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
-1 votes
0 answers
55 views

SwiftUI Scroller flashing entire collection when inserting new data

I Have a SwiftUI view which is a collection that displays each item on a full screen sized view. While the user is viewing and interacting with the items (it's a view that shows photo or video that ...
Mev's user avatar
  • 1,583
2 votes
0 answers
168 views

_objc_msgSend crash swiftui

I have an iOS app and I receive some crashes related to _objc_msgSend. I only know that this crash happens when backgrounding the app. The crash log: Exception Type: EXC_BAD_ACCESS (SIGSEGV) ...
dhaval123's user avatar
0 votes
0 answers
39 views

Why are my NSWorkspace notification and listeners not being recieved or firing?

I recieve no errors, my app runs with no errors. None of the events are triggered at sleep / wake or when the listened are registered. What am I doing wrong here? Thanks! import SwiftUI @main struct ...
ian's user avatar
  • 12.1k
0 votes
0 answers
81 views

Issue with Status Bar Icon Not Displaying in macOS Flutter App

I'm developing a macOS application using Flutter and I've encountered an issue where the status bar statusItem are not displaying on some computers. Below is the relevant portion of my AppDelegate....
Yongqiang Zhou's user avatar
-1 votes
1 answer
81 views

Notification Center - cannot be used on instance of nested type

I am trying to set up my Swift text and labels to work with notification center so what is displayed can be changed using an objective C file. My UpdateConnectionTypeText and UpdateStatusText works ...
Summer's user avatar
  • 85
0 votes
0 answers
70 views

Display video call using PJSIP and SwiftUI in iOS

I am trying to render video using PJSIP but the video is not coming on video call. The audio call is working properly. On the click video call button, the Video opens above the Dial view. As for now, ...
Saurabh Pathak's user avatar
0 votes
1 answer
263 views

SwiftUI - Objc @protocol delgate function usage

I cannot figure how to implement an ObjC library delegate/protocol function in a SwifUI view/app. It works well in an ObjC or swift application Here is the code and explanation (I simplified so there ...
wzxecr's user avatar
  • 11
2 votes
0 answers
1k views

Build input file cannot be found: After Creating Bridging Header

I add some Objective-C libraries to my SwiftUI project using bridging header, Now am facing an error: Build input file cannot be found: '/Users/.../../QPos-iOS/QPos-iOS-Bridging-Header'. Did you ...
Nisar Ahmad's user avatar
0 votes
0 answers
391 views

Using Objective-C framework in SwiftUi application

This is my first Swift project. I did some Objective-C in the past, but I'm only just starting with Swift. I want to use the ConnectSDK within this SwiftUI project. I've created a bridging header and ...
Lazloman's user avatar
  • 1,349
0 votes
1 answer
436 views

How to remove alert view button in SwiftUI

I have scenario where I need to display an alert without any button. Is it possible to remove the buttons from the default Alert in SwiftUI? I know how to create a custom view as Alert. But I would ...
Yalamandarao's user avatar
  • 3,862
0 votes
1 answer
218 views

Animate and resize a linear gradient (CAGradientLayer) using drag and pan gesture

I am trying to animate and resize a CAGradientLayer using a pan and tap gesture but it's lagging. I am animating other things along with this gradientLayer but speed of animation of gradientLayer ...
FE_Tech's user avatar
  • 1,674
0 votes
1 answer
71 views

Change Objective-C rootViewController to SwiftUI

I have a project built with React Native where for some feature I change the rootViewController from React Native to a Storyboard with the following code: - (void) goToNativeView { UIViewController *...
Anderson Vanzo's user avatar
-2 votes
1 answer
63 views

Swift: Can't change class attribute from @objc function

I'm trying to capture ProximitySensor activity on SwiftUI. So I've created a class ProximityOberver and trying to update the attribute 'state' in the notification: import SwiftUI import UIKit class ...
user1329928's user avatar
1 vote
1 answer
501 views

SwiftUI Update @State in closure

Below is SwiftUI code in question. struct ContentView : View { @State var connection = false let disconnectListener: DisconnectListener = { class Anonymous: NSObject, ...
H1Gdev's user avatar
  • 59
0 votes
0 answers
199 views

Swift - Get .plist info and icon from .ipa

I'm currently listing out downloaded .IPA files, but I need to get information from them. Steps: 1 - List out downloaded files from documents directory IF they contain .ipa extension 2 - I need to ...
Mason's user avatar
  • 25

15 30 50 per page
1
2 3 4 5