flutter not picking colors properly
so i was learning flutter and i was checking the hot reload function of it and there is a problem i encountered the default program gives you an app that counts the number of times the button is clicked and…
so i was learning flutter and i was checking the hot reload function of it and there is a problem i encountered the default program gives you an app that counts the number of times the button is clicked and…
After upgrading from Xcode 12, on any version of Xcode 13 or later, the following error occurs when running the sudo sh install-appledoc.sh command: Build input file cannot be found: '~/<ProjectDir>/appledoc/default_templates.zip'. Did you forget to declare this file as an…
While configuring my iOS app to receive push notifications through Firebase Cloud Messaging, I've been stuck trying to make the push notifications sent by the server work. However, when I test using the FCM console, the test notification arrives in…
I have some class (class A: UIView) that conforms protocol UIGestureRecognizerDelegate from third-party library. I need to extend this class by adding some optional UIGestureRecognizerDelegate method, for example gestureRecognizer:shouldRequireFailureOfGestureRecognizer:. How to do that? I have tried writing an extension for…
I have the following key and its translation in String Catalog (Xcode 15.3): when I put the key in a SwiftUI's Text like this: let appName = "some name" Text("login success subTitle(appName)") it works well and returns the English translation…
guard let url = URL(string:"https://blaaaajo.de/getHiddenUsers.php") else { return } let postString = "blockedUsers=245,1150" var request = URLRequest(url: url) request.httpMethod = "POST" request.httpBody = postString.data(using: String.Encoding.utf8); do { let (responseString, _) = try await URLSession.shared.data(for: request) if let decodedResponse = try?…
regards documentation of Firebase I have (I suppose) collapsible message. I had a similar problem with Android, but after removing the whole notification object from the payload it started working. But on iOS sending notification with (only) data as payload…
I tried multiple solutions from stack overflow but no luck. I have set HighlightedAdjustsImage = false In my Code : button.backgroundColor = .clear button.layer.borderWidth = 0 inside my IBAction for button I am changing image and also setting value of…
I trying to upload custom fonts for my expo ios app but there's always some pesky error that does not go away and no fix from google/github/stackoverflow helps. In the end the error always is The error Here is my…
I'm using .refreshable() on a List in SwiftUI. With the following code, I pull to refresh in an iOS 17.4 simulator, the spinner appears, and then goes away after a couple of seconds. var body: some View { List() {…