Questions tagged ios

Explore the latest questions and answers asked by our top developers.

keyboard notification not called with small keyboard

In my code the notifications, that the keyboard will open/close are called normally when the keyboard is big. But as soon as is make it small, squishing the keyboard between to fingers, those notifications are not called anymore. Anybody having similar issues? let notificationCenter = NotificationCenter.default notificationCenter.addObserver(self, selector: #selector(self.keyboardWillBeShown(_:)), name: NSNotification.Name.UIKeyboardWillShow, object: nil) notificationCenter.addObserver(self, selector: […]

By Adarkas2302
Published
Categorised as ios, keyboard, notifications, swift Tagged , , ,

IPAD PRO 2021 (M1) – PROBLEM PROVISIONING PROFILE

sorry for my English. I have an APP distributed in AddHoc for Ipad / Iphone. (In Xamarin.Forms) The process I do is, Add the Device ID in Devices (On developer.apple.com), then i go to provisioning profiles, edit te provisioning profile and check the new Device to enable it. Now i have a problem with the […]

By Ipshal
Published
Categorised as Uncategorised Tagged , , , ,

PKPassLibrary not removing pass

I am implementing apple in-app provisioning and I am able to add a credit card to apple wallet via my app for iPhone and Watch. and I am able to get all these passes and work with them … but when I want to delete one of them nothing happened this is how I playing […]

By Luk lek
Published
Categorised as apple-wallet, ios, ios-provisioning, passbook, swift Tagged , , , ,

No connectionEventDidOccur for GATT over BR/EDR (aka Classic) using CoreBluetooth

I’m trying to use the iOS 13 introduced capability in CoreBluetooth to do GATT over BR/EDR. The accessory I’m using obviously implements GATT over BR/EDR (it even publishes its services using SDP). According to the session WWDC 2019 What’s New in Core Bluetooth session, we have to use the registerForConnectionEvents API on a CBCentralManager instance, […]

By Adam
Published
Categorised as core-bluetooth, ios Tagged ,

the method AvailableMetadataObjectTypes in the class AVCaptureMetadataOutput looks like it is declared wrongly

in Xamarin for iOS the class AVCaptureMetadataOutput has a method AvailableMetadataObjectTypes which according to the Microsoft docs and assembly is declared as this public AVMetadataObjectType AvailableMetadataObjectTypes { [MethodImpl (MethodImplOptions.NoInlining)] get but the Apple documentation and sample objective C code suggest it should return an NSArray @property(nonatomic, readonly) NSArray<AVMetadataObjectType> *availableMetadataObjectTypes; Question which is correct and how […]

By canderse
Published
Categorised as Uncategorised Tagged , ,

Is there a native iOS Notes API?

It’s now 2 years after the latest question about native deep-linking to iOS apps. Here’s an unanswered thread from 2019. From what I’ve been able to read we can deep link with mobilenotes:// but it’s hard to find any references to this. I’m currently working in Xamarin, which supports deep linking and apps like Maps […]

By thugzook
Published
Categorised as Uncategorised Tagged , ,

How to Not fetch screenshots from Photos library iOS

I am trying to fetch Photos from Photo library and I want to show only images from the Photo Library. I do not want to show videos. I am using PHFetchOptions to fetch PHAssets from Photos library. Also I have provided a predicate to fetch only the photos. Below is my code: let allPhotosOptions = […]

By FE Tech
Published
Categorised as ios, nspredicate, photokit, swift Tagged , , ,

Does creating an INImage from a URL work?

I would like to use INImage.init(url:) for displaying a user profile image in a notification. This initializer is documented with: A URL that specifies an image file on a remote server. The image file can be in any format supported by the system, but it is recommended that you use PNG images. However, as far […]

By Wil Gieseler
Published
Categorised as ios, sirikit, swift Tagged , ,

Xamarin Apple Account error: There was an error while loading your certificates: Object reference not set to an instance of an object

I’m trying to solve this problem that I have. Checking iOS configuration I realized that I have another problem with Apple Account certificates, I don’t know if this problem is causing the first one. I’m using Visual Studio Professional 2019 Version 16.11.3 ​on Windows 10 Pro laptop. At this moment the iPhone is running iOS […]

By Jon
Published
Categorised as Uncategorised Tagged , , , ,

In iOS 15, Soft hyphen is not working properly when using unicode character in UILabel

In iOS 15 soft hyphens (u{00AD}) are not considered when setting text on UILabel. for example: The following code does render the text with the soft hyphen correctly in iOS 13 & 14, but not in iOS 15. import UIKit class ViewController: UIViewController { @IBOutlet weak var label: UILabel! override func viewDidLoad() { super.viewDidLoad() label.text […]

By Renato Stauffer
Published
Categorised as ios, ios15, soft-hyphen, swift, uilabel Tagged , , , ,
1 58

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq