Category "ios"

Swift - Unexpected rows added to CoreData

I have a CoreData base with 6 rows in it. I na ViewController, the data is displayed in a UITable, when I select a row in the table, the didSelectRow lists 6 ro

How to enter the amount of shapes in for each identifiable loop SwiftUI

I am beginner in SwiftUI, updating my app and remaking it on SWIFTUI. Here is the screenshot what I had to do... Screenshot I've successfully done actually the

Xcode "Manage Version and Build Number" option

I have just updated to Xcode 13 Beta and I am about to upload my first build to App Store using this version of Xcode. This version of Xcode shows a new App Sto

Azure Notification Hub - Registered IOS devices overwriting each other

Got a strange issue with our notification hub on Azure. I'm using Service Bus Explorer to view what devices are registered. I can only seem to get a max of 2 IO

Dart Unhandled Exception: NoSuchMethodError: No top-level getter 'xx' declared.Could not run the run main Dart entrypoint

Steps to reproduce NO.1 Create the following Dart program: (1) main.dart import 'package:flutter/material.dart'; void main() => runApp(const MyApp()); @pra

MSAL SSO not working for app that built in different framework

We have iOS apps that are built in Xamarin, swift and objective c. We change the authentication of those apps to use Azure AD to easily implement SSO using MSAL

Extra padding above table view headers in iOS 15

How to change the extra padding above UITableView section headers that has started to appear in iOS 15?

React Native: 'shared_timed_mutex' error despite upgrading iOS deployment target

I'm getting the following error when I try to build my React Native project: Based on other posts, I tried to set the deployment target to 10.0 using this code

How do I observe changes on an array with Combine framework?

How can I observe changes on an array with Combine framework but without SwiftUI? Basically, I want this sink block to get called when an element is added or re

Is it possible to set preferred sample buffer size for AVCaptureOutput?

Say we have an AVCaptureAudioDataOutput object that has been set up with an AVCaptureSession to get data samples from the device's microphone. captureOutput(_:d

Using UISheetPresentationController in SwiftUI

I'm really struggling to wrap the new iOS 15 UISheetPresentationController for use in SwiftUI (for a half-modal). I understand that I should inherit UIViewContr

AVAudioFile write not working Swift iOS 14

I have the following function: private func getPCMBuffer(utterance: AVSpeechUtterance, completion: @escaping (Result<AVAudioPCMBuff

google_maps_flutter crashes on ios device with the error "-[__NSCFString objectForKey:]: unrecognized selector sent to instance 0x2808f4380"

I have the google_maps_flutter 2.1.0 and flutter 2.10.3 running. While opening the map, the app crashes and shows the following error log. Could anyone point ou

'async' call in a function that does not support concurrency swift ios Xcode async/await

I'm trying to use async/await with Swift 5.5. I have my async function, but whenever I try to call it, I get this error: 'async' call in a function that does

Alternative of WKScriptMessageHandler for WKWebView and native communication?

Is there any alternative way other than WKScriptMessageHandler to communicate from Javascript to native code?

How to get bit rate from MPMediaItem

I'd like to get a song's bit rate, for example 256 kbps, from a MPMediaItem retrieved via MPMediaPickerController. Is this possible? I tried to get it via: AVAs

image_picker maxDuration not limiting videos in gallery selection (Android or iOS) - Flutter

Utilizing image_picker: ^0.7.5+3 Using iPhone 12, iOS 14, Android Google Pixel, Android 10. Code: var pickerFile = await ImagePicker().getVideo(source: source,

How to get notifications click/open updates in RNFirebase

I am using RNfirebase to push notifications to my React native application. When the app is in background I am trying to send a notifications which is working f

Background Task to Fetch HealthKit Data

I am using iOS 13 where Background Task framework there. My Query is Can it will be possible to fetch HealthKit Data in Background Mode. Can i send these Healt

How do I return string from fastlane to jenkins groovy variable?

Have a lane in fastlane as lane :ipa_path do |options| “<ipa path>.ipa” end How to store string returned by ipa_path lane in groovy script v