Category "ios"

UISearchBar warning: UITextEffectsWindow should not become key. Please file a bug to Keyboard | iOS with this call stack

I have a UISearchBar in a view which I am presenting using: view.addSubview(searchView) searchView.mySearchBar.becomeFirstResponder() This works fine in most c

Why is my HLS stream infinitely loading on iOS 15 safari but works fine on iOS 14?

So I have a small website that shows different streams from web cameras around the city. (ex: https://camstream.alteco.lv:8443/live/camera1.m3u8). The stream ca

SwiftUI: how to detect when List is scrolled? [closed]

I have a view with a search bar at the top and a SwiftUI List below. I need to detect when the List is scrolled so I can dismiss the search ba

In flutter, which is more secure using platform functions/ dependency or dart dependency?

Im building a mobile application with flutter which the security is the highest priority so what is more secure to use native code (functions/ dependency ) or u

Metal kernel function not found

I am trying to use Metal Performance Shaders with Core Image. Unfortunately, the filter code is in Objective C and I am using the bridge to make it work with th

Flutter app stuck on Installing and Launching step for physical iPhone

Annoying problem here for my Flutter app: iOS13.3, Xcode11.3 on a physical iPhoneX. The iOS-Simulators all work. The problem is only happening on a physical dev

@supports (-webkit-touch-callout: none) not working in iOS 15 Safari

I'm trying to target iOS devices with CSS. The general advice is to use: @supports (-webkit-touch-callout: none) { ... } However, this does not seem to wor

Swift 5 UIButton title didn't change

I just learned Swift and developed an iOS project. But the button title doesn't change when I click it. How can I change the title? Simulator: iPhone 11 iOS14.4

SwiftUI - How to pass EnvironmentObject into View Model?

I'm looking to create an EnvironmentObject that can be accessed by the View Model (not just the view). The Environment object tracks the application session da

error running pod install error launching application on iphone11 Pro Max

I finished my flutter app, and i want to test it in ios device, so i used a mac laptop and i did all the installations but when i did the command "flutter run"

Open link in safari instead of the native app

I am trying to open a link when a user clicks a button, using window.open() on button click. Currently this works as expected in Android browsers, but on IOS it

Swiftui - How do I initialize an observedObject using an environmentobject as a parameter?

I'm not sure if this is an antipattern in this brave new SwiftUI world we live in, but essentially I have an @EnvironmentObject with some basic user information

Mimic the iOS Photos APP browsing behavior with SwiftUI

I am new to SwiftUI (iOS development). I would like to mimic the iOS Photos APP browsing behavior with SwiftUI. More specifically, I want to display a photo in

Can I change the Weekday format to be like (Su, Mo, Tu, We, Th, Fr, Sa) in FSCalendar

I want to change the current week title to two letters, eg: sun to su, mon to mo, in FSCalendar.

Add dependency on a local swift package in Xcode 11

I am trying to add a dependency on a local swift package in my Xcode project. (I don't want to add a dependency using a file url file://me/dev/app/package as th

Provisioning profile "iOS Team Provisioning Profile: doesn't include the currently selected device" Flutter - MacOS

I'm able to build the macOS app from Xcode and run successfully, but when I'm trying to run it from Android Studio it's giving me the following error: Provisio

ERROR ITMS-90171: Invalid Bundle Structure - The binary file [CocoaPods file]

Running into this error when uploading to the App Store: ERROR ITMS-90171: "Invalid Bundle Structure - The binary file 'mobile.app/Frameworks/Pods_mobile.frame

iOS Swift Combine: cancel a Set<AnyCancellable>

If I have stored a cancellable set into a ViewController: private var bag = Set<AnyCancellable>() Which contains multiple subscription. 1 - Should I canc

Flutter IOS Architecture Issue in M1 Mac using VS code

I am using an M1 MacBook pro laptop and ios 13 simulator for developing a flutter app, But I am getting the below issue while trying to run the flutter app in t

How to give shadow with cornerRadius to a Button in SwiftUI

I'm trying to give a shadow to Button using following code. Code: Button(action: { }) { Text("SIGN IN") .fon