Category "ios"

Force ViewController light mode but keep WKWebView mode adaptable

I'm using the newest version of Xcode for my iOS app. I'm stuck with one small task since hours: I want to force my View Controller to always stay in light mode

How to cache response in iOS and show only when internet is not available?

I want to cache the response of API. When the internet is available it should fetch data from the server and should update locally cached data every time and wh

Why is are the images being cut off?

The images in my 'tiles' are being cut off at the sides. I am trying to create a tile for each 'product' that displays an image, name and subtitle. Everything n

overrideUserInterfaceStyle not working in AppDelegate

I'm building an iOS app with the newest version of Xcode. If I set overrideUserInterfaceStyle = .light to a View Controller, it will get set to light mode, als

best practice handling NSManagedObjects and CoreData in multiple VC's

i'd could use your advice on this one i restructured my whole app, to use coreData so i'd be able to save the Main Class of my app: "FooBar" i also transfered m

SwiftUI Preview incorrectly tries to build conditional dependency from another platform

SwiftUI Previews are broken for me when one of imported Swift Package has a conditional dependency to another platform. Steps to reproduce: Create Xcode Project

Apple TestFlight reject with wrong version number

At App Store Connect, I have published my app, v2.0.0(17). Last 4 days ago, I released V2.0.1(18) to TestFlight and it is still processing. I need to increase t

ios 15.2 Objective-C Mutiple UITableViews on single screen crashing when scrolling

I have two UITableViews on my view with two buttons acting as tabs on top of the view. I hide and show one of the tableview based on user selection. When I come

Firebase dynamic link always goes to ios app store even if app installed

I have a dynamic link that is working fine on Android however I can't get the App Store redirect behaviour working correctly on iOS. If I set up the dynamic lin

How to scroll a chat view in a web WhatsApp app to bottom with N number of pixels in Java Script

I what to create an iPhone app which loads web WhatsApp in web view and scroll automatically to top/bottom the chat view content to specified number of pixels.

Automating Fastlane Authentication for multiple lanes

I'm trying to set up Fastfile for upload to Testflight and deliver but for no reason, I can't share my lane_context for app_store_connect_api_key. Here is my Fa

The iPhone app closes immediately when I open the map [closed]

Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString objectForKey:]: unrecognized selector sent to

Find screen resolution in Swift [duplicate]

I am writing an iOS game in Swift using Spritekit and want to find the screen resolution to properly place my sprites. I found multiple ways o

unable to readCharacteristic in IOS using flutter_reactive_bel

IOS app is crashed after the connecting with device so for handle the crash using scanStream.cancel(), but after doing this one of my readCharacteristic is not

extract image from stamp pdf annotation on PDFViewAnnotationHit notification

I want to know how I can extract image from Stamp Pdf annotation when PDFViewAnnotationHit notification triggered. We have pdf notification when we touch pdf an

Is it possible to integrate Git into iOS app?

I can't really find anything online so decided to ask here. Is there a way to have a fully running Git binary inside of the iOS app? To, basically, have same as

Class X is implemented in both places One of the two will be used Which one is undefined M1

I use Mac M1 and After I upgrade Xcode 13.3.1 , I got this error when I make a build for the project: Class AppleTypeCRetimerRestoreInfoHelper is implemented in

Firebase SDK crashes on FBLPromise with unrecognized selector

I've followed the Firebase docs for integrating my iOS app with Google Sign-in authentication, and now that I have the "sign-in with google" button showing up i

Keeping texts of different sizes aligned at top as the dynamic type size increases

I'm trying to align texts of different sizes at the top so that they stay aligned when the Dynamic Type size changes. import SwiftUI struct ContentView: View {

WkWebview inside uiScrollview

I was wondering if you can help me please. I have a wkWebview that has horizontal paging content. Outside of that I have a scroll view that also has horizontal