Category "ios"

static let sharedInstance not accessible from Objective-C code

Problem: The declared static let sharedInstance is not accessible from Objective-C code when building the main app target. Code: @objc public protocol Manag

Create dictionary from an array of objects using property of object as key for the dictionary?

With Swift is it possible to create a dictionary of [String:[Object]] from an array of objects [Object] using a property of those objects as the String key for

Flutter Web - How to prevent default iOS bottom sheet dismiss (not bottom sheet from flutter)

I build flutter web with simple ListView. When clicking the link to open a website (For example: In Facebook chat). It will open inside the iOS bottom sheet web

Flutter iOS - How to hide the DONE button at the top of the ios keyboard?

The DONE button doesn't work on Flutter Web (Safari, Chrome). I just added a Textformfield Widget to 'Counter Example Project' and built it on Chrome. And I acc

static let sharedInstance not accessible from Objective-C code

Problem: The declared static let sharedInstance is not accessible from Objective-C code when building the main app target. Code: @objc public protocol Manag

react-navigation swipe to go back doesn't trigger

I am using stack navigation and I want to use swipe to go back. However, even when I swipe the screen all the way to the right the app doesn't navigate to the p

Use of undeclared identifier 'FIRApp'

After import the Firebase.h file i wrote "[FIRApp configure]" on "- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *

Remove objects with duplicate properties from Swift array

The question here involves removing duplicate objects from an array: Removing duplicate elements from an array in Swift I instead need to remove objects that

Can't access OVM Samba share MacOs / iOS (Invalid argument)

I have Open Media Vault set up on Raspberry Pi. I have connected an external drive, created the required shared folders, enabled SMB/CIFS. Everything works grea

Setting tableHeaderView height dynamically

My application creates a UITableViewController that contains a custom tableHeaderView which may have an arbitrary height. I've been struggling with a way to set

how to switch tab programmatically on button click? in swiftui

I have implemented tab bar in my code. I have see all button in my first tab and from that button i want to switch to second tab programmatically. When I use na

UITableView with fixed section headers

Greets, I'm reading that the default behaviour of UITableView is to pin section header rows to the top of the table as you scroll through the sections until the

How to add the AppTrackingTransparency permission to your iOS apps

I am extremely new to iOS, with no iOS development experience at all, however, I've been given a task that's related to preparing for iOS 14+. Based on what I'v

Check for internet connectivity from Unity

I have a Unity project which I build for Android and iOS platforms. I want to check for internet connectivity on Desktop, Android, and iOS devices. I've read ab

Flutter iOS distribution fails with No architectures in the binary

I've been building a flutter application and its come time to release to internal testers and I've been running into issues. The error I get is this ERROR ITMS-

NSPredicate with multiple arguments and "AND behaviour"

I have a function which fetches those objects from a particular entity that fulfill a specified criterion: func fetchWithPredicate(entityName: String, argument

iOS 11 scrolling infinite when keyboard pops up

As im working on with the login screen on iOS native app, app worked exactly fine till ios 10. on iOS 11 onwards the topLayoutGuide and bottomLayoutGuide, i hav

ReSwift and State with a reference type property

Since ReSwift is based around immutability of State, the Swift struct is obvious choice to work with. But what if I really need a reference type property in a

Do i need to install Command Line Tools for Xcode separately if i already have Xcode

I tried to install gcc 5.2 (already installed dependencies successfully) from source file on my computer one week ago, but it failed at make phase or make insta

Google sign I didSignInFor. I am getting ID Token expired

I using google with sign in. From today morning, google sign in was not working. Not sure why its happening. I am getting error : ID Token expired On my consol