Category "ios"

Disable UIPageViewController bounce

Searched a lot for this one, but couldn't find a proper solution yet. Is it possible to disable the bounce effect of a UIPageViewController and still use the

Method 'application:openURL:options:' is not called

I'm trying to open my app from a web page using custom schemes. The app is opened but the following method is not called: func application(_ app: UIApplication

Opening Instagram app from a link on iOS

I am providing a feed which is consumed by both desktop and mobile apps which contains links to images, users, and tags on Instagram. When these links are click

iOS app reject because of healthkit

I am using HealthKit in my app to read users daily steps data and for that I enable HealthKit in my app. I uploaded app without NSHealthShareUsageDescription a

What causes this iOS permission prompt for "use Bluetooth for new connections"?

Since iOS13, our app which uses BLE beacons for location, now gets two Bluetooth related permissions prompts. The first one is understandable and expected:

How to convert Chinese Html String into NSString

For converting html string into NSString i am using below function Code Snippet : +(NSString *)getStringFromHtmlString:(NSString *)str { NSData *stringD

Linking a static library to an iOS project in Xcode 4

I have a project (AQGridView) that compiles to a static library, but I can't seem to add it to my project. Dragging in the project to my project creates a work

Сocoapods trunk URL couldn't be downloaded

I am getting this error when I try to pod repo update and pod install CDN: trunk URL couldn't be downloaded: https://cdn.cocoapods.org/deprecated_podspecs.txt,

Using user input in SwiftUI to perform calculations

I'm making a school project in which I have to find the weight of a person on different planets, but I am confused about how I should use the input and multiply

Facebook share error : "the page you requested cannot be displayed right now"

I have used custom stories to do the facebook share and the share happens correctly and displays in posted user's facebook wall. See below: The issue when wh

The linked framework 'Pods_Runner.framework' is missing one or more architectures required by this target: x86_64

I am getting the below error while building my flutter app in IOS simulator via M1 Macbook pro. I am using VS code for editing. I have no issues with the buildi

Firebase Analytics for iOS — custom parameters with predefined events (Swift)

I'm trying to implement Firebase Analytics for Swift iOS app. Could you please explain, if it's possible to pass custom parameters with predefined AnalyticsEve

Why UICollectionView didSelect method does not work?

I've created my UICollectionView programmatically and in this case my didSelectItemAtIndexPath method does not call at all. let collectionView = UICollectionVi

How to remove the bottom gap of UIPageViewController

I am using UIPageViewController to show images full screen, the UIViewController which is added to UIPageController as a sub view / child has the images being s

iOS Swift UI Test tap alert button

A really small UI test fails when trying to tap an alert button, what step am I missing? I'm trying to tap the "Continue" button in the alert displayed below w

How do I compare two voice samples on iOS?

First of all I'd like to state that my question is not per say about the "classic" definition of voice recognition. What we are trying to do is somewhat differ

How can I apply a filters to ONE image?

I'm beginner in Swift and make an app "Photo Editor". I have a problem. I need to apply a some filters to ONE image. I have four sliders(sepia, contrast, bright

iOS7 TextKit: bullet point alignment

I'm writing an app for iOS 7 only and I'm trying to get decent formatting on bullet points in a non-editable UITextView. It's easy enough to just insert a bull

iOS-charts invert the X axis direction

I have a bar chart built using Daniel Gindi iOS-charts. It represents history data over a period of time. The issue I am having is that the data is being plott

How do I convert JSON with variable variable names into swift object?

I am working on a project with an API which gives me a JSON Object with some data in a variable. But the name of the variable under which the data is provided c