Category "ios"

How can I recognise a 'second' tap on a segmented control in SwiftUI?

In SwiftUI, I have a Picker with a .segmented style that I use to select how a list is sorted. What I want is for each segment of that picker to reverse the sor

Cannot create directory in ios flutter

Im using next code: Directory dir = getApplicationDocumentsDirectory(); Directory newDir = Directory('$dir/test'); await newDir.create(); and added next code i

Adding code to my AppDelegate / AppController

I'm trying to add code to my AppDelegate. But I am not sure where to do it - and how exactly. I am trying to achieve Deep Linking, so I am trying to add my code

Unhandled Exception: HiveError: Cannot read, unknown typeId: 34. Did you forget to register an adapter ? ( Flutter )

App is not restarting after writes made using hive in disk. It's throwing the above error and app is not opening.

Discard a push notification when received on device

I'm using OneSignal to send push notifications to iOS and Android devices. Is it possible to discard a push notification when it's received on a iOS and Android

iOS Files app not opening the right directory from app when it is running in the background

My app has a feature which allows users to download images and once the download is complete, it opens the Files app showing the downloaded items in the documen

iOS custom keyboard height increases on every switch

I have a frustrating issue I have no idea how to solve When working on a custom keyboard I discovered that on a particular screen - Apple Mail app Reply - custo

Kivy-Ios / Xcode ImportError: The _imaging extension was built for another version of Pillow or PIL

Deploying my Kivy app to iOS using Xcode. Everything works fine outside, only the iPhone Simulator is giving me this issue. The pillow recipe version in toolcha

How to generate ZAK token to Start a meeting in ZOOM

I am trying to integrate the latest zoom SDK iOS(5.10.1.3038) in my application, Previously I tried to login using email and password along with meeting Id to s

Can't fetch saved account from Keychain

I made a simple analog of the account manager for iOS using Apple Keychain: @Serializable data class Account( val name: String, val password: String,

Swift migration: 'Notification' is ambiguous for type lookup in this context' in some places

I'm making a migration from Swift 2.3 to Swift 5 with a lot of pain and well, I'm ending the migration but I'm still getting an error in some places of the code

Why I cannot use model<T>(at indexPath: IndexPath) method of Reactive<UICollectionView> type?

I want to get the dataModel of UICollectionView at specific indexPath, I noticed that there is a method called model<T>(at indexPath: IndexPath), and I th

Xcode 13.2 does not build project with OpenCV - 4.5.3

I am trying to integrate OpenCV framework in my cocoapod project. The steps I have followed to integrate OpenCV Deploy OpenCV framework to the private repositor

Compile x86_64 error(No such module error)?

I have done all the recommendation i found in the stack overflow pod install pod deintegrate sudogem install cocoapods-clean added arm64 in excluded architectu

Getting the current UIButton menu selected item

I have a uibutton with a menu and several actions. Whenever the user select a menu item I want to fetch it and print it. This is my button: private lazy var

UIKit - removing rows from sections

I'm new to Swift, trying to build a simple toDoList using UIKit. For now, I'm trying to approach it the simplest way possible, so the data is appended in viewDi

Opacity Or Alpha issue - Different Look in screen and while export in Photos in swift

Hierarchy Of View ===> CTStickerView(UIView) -> RefenceView(UIView) -> LabelMakingView(UIView) -> StackView(UIView) Having a Multiple Labels When I

Webdriverio iOS restart app with processArguments

I have iOS app which implemented UI testing with Appium. And when I want to restart app with this code, processArguments are lost. Could anyone tell me how to r

Receiver '**' for class message is a forward declaration Error. Swift Static Library use in Objective-C

I am trying to make a Swift Static library and apply it to Swift and Objective Project. import Foundation @objc open class Library001_Test: NSObject { publi

How can I set an NSDate object to midnight?

I have an NSDate object and I want to set it to an arbitrary time (say, midnight) so that I can use the timeIntervalSince1970 function to retrieve data consiste