Questions tagged [ios]

iOS is the mobile operating system running on the Apple iPhone, iPod touch, and iPad. Use this tag [ios] for questions related to programming on the iOS platform. Use the related tags [objective-c] and [swift] for issues specific to those programming languages.

0
votes
0answers
6 views

AVSpeechSynthesizer - iOS 12.3 Doesn't work (it works fine with iOS 12.2)

I'm testing AVSpeechSynthesizer and looked around plenty of examples and tutorials. All of them work fine on iOS 12.2, but doesn't work on iOS 12.3 (including 12.3.1). Anyone passed this?
0
votes
0answers
6 views

How to find similar control of certain type in Xamarin iOS and loop through

In my Xamarin iOS mobile project I have a screen which has 10 image views.I would like to know if there is a way to loop through all controls in my Xib and find the item of type UIImageView and if ...
0
votes
0answers
8 views

Is there a way to send a message programmatically without user having to tap on screen to confirm sending the message?

I would like to make a Voice Assistant app and I would like to have functionality for sending SMS messages to certain people. Can I send that message, and after I dictated my text I want to say "Send" ...
0
votes
0answers
9 views

How to read ApplePencil pressure data outside an UIView?

Is it possible to read the pressure data from ApplePencil outside an UIView? For example on the frame of an iPad? I have stumbled across this project, where the ApplePencil was used as electronic ...
0
votes
0answers
5 views

How to make embedded YouTube video work in IFrame in Cordova app in IOS?

I have converted my Angular 7 app to IOS app using Cordova(PhoneGap). In that app, I am trying to play youtube video using IFrame, but unfortunately, the video is not playing. An only the video ...
0
votes
0answers
8 views

Issue about showing image on push notification

I added 'Notification Service Extension' in my project, and want to show image on push notification. In code, first I downloaded the image from the url with 'downloadTask' method of ...
0
votes
0answers
3 views

Camera, Microphone and Audio/Video storage permission for ios app

I want to make a video recording app, thats why i need camera, microphone and storage permission. in my info.plist, I add camera , microphone and photos permission. The problem is here, when app opens,...
0
votes
0answers
7 views

GraphQL Schema Design

I'm currently trying to design the architecture for my iOS-swift app. I am using GraphQL, and am wondering how I should design my schema. Let's say I have: type Profile { id: ID! name: ...
0
votes
0answers
7 views

Upload video with alamofire (Swift 5)

Upload video with alamofire (Swift 5) media.phAsset?.requestContentEditingInput(with: PHContentEditingInputRequestOptions(), completionHandler: { (phContentEditingInput, dict) ...
0
votes
0answers
19 views

ActivityViewController fails to share link on WhatsApp and Mail App?

I used following code to share some url on WhatsApp and Mail. @objc func onclickOfShareButton(sender:UIButton){ let myWebsite = NSURL(string:"https://myDomain/path/\(String(zoomLocation....
0
votes
0answers
11 views

How can I access the iOS setting “Store Documents & Data On:”?

Anyone know how to access the value of this built-in setting in iOS system preferences using objective-c? I am sure that it is there because my app has iCloud storage enabled, but I have no idea how ...
0
votes
1answer
13 views

how to unbind glBindFramebuffer in c++ opengles ios

i am porting a program that run on windows and android to ios. the following code works on both platform but on ios it stops rendering after that code is being executed, i suspect that the bind never ...
0
votes
2answers
45 views

Hi all I need to design Table view something look like below screenshot, any suggestions

I need to design Table view something look like below screenshot, any suggestions
1
vote
0answers
26 views

TextField is in the right view of another textField, when resign right view's textField main textField immediately become first responder

When the first respondent is the main textField, it works correctly when touch the textField in the right view. But when the first respondent is the right view's textField, it does not work when the ...
0
votes
0answers
16 views

listening url scheme in library

Facebook ios SDK ask their 3rd party client app to implement <dict> <key>FacebookAppID</key> <string>{your-app-id}</string> <key>FacebookDisplayName&...
-2
votes
1answer
15 views

Animated polyline in gmsmapview

how to draw animated polyline in google maps using two coorniates
0
votes
0answers
16 views

How to implement checkout for headless iOS app using BigCommerce

We are building a headless iOS app using BC server-to-server APIs as backend. So far we have integrated with product, categories and cart APIs. Now we want to do the checkout. I know we can use ...
1
vote
1answer
26 views

What's the minimumFontScale equivalent for SwiftUI?

I'm making an app in SwiftUI and the text looks fine on the iPhone but is way too small on the iPad so I was wondering what the minimumFontScale equivalent was in SwiftUI so I could have the text ...
0
votes
0answers
26 views

What is an elegant way of constructing a character from int, and int to character?

What is an elegant way of converting a character from int, and int to character? for example, for an often operation of a -> 0, how do i convert this in swift? And how do i convert 0 -> a? ...
0
votes
0answers
14 views

Scroll all rows of a UICollectionView at the same time

On my Controller, I have a UICollectionView and I am loading data in 3 sections. These rows are showing price object. Each UICollectionViewCell contains class types like UILabel, TectField, and ...
1
vote
2answers
25 views

How to remove braces and its content except content inside vertical bar in Swift?

i have this String {bc}{sx|lineage||}, {sx|ancestry||} , i want to remove {} and its content, but do not want to delete content inside | |. i tried below code but this is deleting {} and all its ...
0
votes
0answers
6 views

AudioKit AKPlayer Set Timing Offset

Is there anyway to set an offset to an AKAudioPlayer? What I have are two players playing different tracks at the same time, and I'd like to have them out of sync by exactly, say, 5 seconds. Instead ...
0
votes
0answers
20 views

How to turn an MKannotation into a UI button which connects to a view controller?

I am new to coding and I am needing to turn an annotation into a UIButton. My goal is for users to click the button and it segues to another UIView similar to Google Maps or Apple Maps. How would I ...
1
vote
2answers
18 views

DO android_alarm_manager Work on IOS or it only support android?

I am working on flutter App where I use android alarm manager to send notification at particular time duration, once alarm triggers. This work properly in android but not in IOS. Is there any ...
1
vote
0answers
10 views

Registering Push Notifications with Tags not working in azure notification hub

I am aware that this question is mostly a duplicate of tag registration ANH but there is no specific answer and that's why I am putting it again. I am working on a Cordova app and using this Azure ...
-1
votes
1answer
28 views

iOS NotificationCenter unexpected retained closure

In the documentation, it says: The block is copied by the notification center and (the copy) held until the observer registration is removed. And it provides a one-time observer example code ...
0
votes
0answers
16 views

Uploading video to server with alamofire 5 Swift 5

I need help for uploading videos to my server with alamofire 5 1 Multiple images uploaded successfully with this code. 2 I am using TLPHAsset for image/video selection. Note: Text is uploaded ...
2
votes
0answers
21 views

how to get latest captured image from gallery in react-native (IOS)?

After capturing the image, I am able to get the latest captured image in android but in IOS I am getting the last image in the gallery but not the latest captured image. How can I get the latest ...
0
votes
2answers
19 views

How to add urlencoded parameter to httpBody in urlRequest

i have created one common class for alamofire request i want to send parameters as aplication/x-www-form-urlencoded how to add the parameters to my urlRequest i have managed to add parameters as ...
0
votes
1answer
27 views

How to maintain landscape or portrait mode when converting app to IPAD?

I'm currently adapting an iphone app to ipad and have implemented the following code in the viewController to maintain one of the views in landscape (the other views are in portrait): override func ...
0
votes
0answers
7 views

How to record and *reverse* audio (React-Native)

I'm making a game that incorporates audio recording and playback. Does anyone know a library/method that allows me to record something and play it in REVERSE? The REVERSE aspect is essential. Tried ...
0
votes
0answers
10 views

Tracking Objects from a VNCoreMLFeatureValueObservation

I am using Vision and a CoreML Model whose role is prediction rather than classification or image-to-image processing. I input the pixelBuffer and get back a [VNCoreMLFeatureValueObservation]1. ...
0
votes
1answer
52 views

How to Display Json Response using get method

Here is my Response and I want to print the response using array I want to take some details in the response like "Id" and "available" and "leaves" and I have to show in a label in my VC { "id": 1,...
0
votes
0answers
18 views

POST http calls not working in Ionic iOS build

I've made an application in Ionic V4 and then build the same using cordova plugin (not capacitor). First page of my application is login where I'm getting values from form fields and sending it to ...
0
votes
0answers
15 views

Test fails when setting Product Name per Scheme

I changed the Product Name for each Scheme, and changed the Product Name for Scheme such as Develop and Mock. enter image description here Correct the name of TEST_HOST and there is no warning. ...
0
votes
2answers
41 views

UIPageViewController dots not showing

Everything working fine but dots not showing. My code is... import UIKit class MyPageViewController: UIPageViewController { override func viewDidLoad() { super.viewDidLoad() // Do any ...
-1
votes
1answer
12 views

Swiper slider(idangero.us) navigation arrows are not visible on init in Ionic 4 iOS app

I am using idangero.us Swiper slider in an Ionic 4 app. On iOS the navigation arrows are not visible on page initialization. When I move slide or change slide then only it is visible. This problem ...
0
votes
1answer
15 views

issue while registering bundle id to appstore certificates and id

i using 10.2.1 (10E1001) and i am registering bundle id to my account but i am getting error like below i have refer some answers but it can't solve my problem here is answers here is the link which ...
0
votes
0answers
11 views

What is the configuration to be inspectable iphone's inner app's WKwebview?

I'm not a swift developer, but javascript developer. As far as I know, to inspect the WKWebView by my iMac's safari, there's gotta be some configurations for WKWebView. So, that can make to be able ...
1
vote
0answers
26 views

My JSON is not getting parsed on some string values?

I am doing xml parsing and on found character delegate method i get the string value and doing JSON serialisation to get the data. Now for certain search value string is parsed good and i am getting ...
0
votes
1answer
16 views

Retrieve user data from Firebase database and display in user profile textfields

I want to retrieve user data from the Firebase database (data such as: username, email, age, gender, height) and display it in text fields that are located in my UserProfileViewController. I have ...
0
votes
1answer
20 views

Failed to run react native project on IOS Simulator

enter image description hereI'm new to react native, I'm following the official React native's website to init a new project, try to run IOS. But, failed with the error below. React-Native version 0....
1
vote
1answer
40 views

How to remove the transparency of top Bar on IOS App swift

I have a Web View app. Main Problem I am facing is when I scroll the page, Content is visible on top bar where Battery, Signal and time is mentioned. This is really weird. What I have done but not ...
0
votes
0answers
16 views

JasperReports issue with permission on iOS 12

In my project i have to work on jasper reports to generate dynamic pdfs, one of the requirement is that the user is not allowed to copy text from the pdf but is allowed to print, so the following code ...
0
votes
0answers
12 views

Error returns when add to Siri shortcut button is shown (No results for LSApplicationIsInstalledQuery)

I am currently testing an INUIAddVoiceShortcutButton (add to Siri button) on an iPhone 6 running iOS 12. From the user's point of view, when the view controller with the add to Siri button is ...
0
votes
0answers
17 views

How do I integrate CustomScrollView with slivers and TabBar?

I am trying to use a CustomScrollView and a TabBar but I am unsure why my implementation does not work. I wrapped by TabBar in a SliverToBoxAdapter and still no luck. Previously I tried a GridView ...
0
votes
1answer
17 views

Animating height constraint in iOS results in empty white space between two UIViews

I have a problem with one of my views in my app. The views are embedded in a UIViewController. I want to simultaneously change the height of two views at once. I have the following layout: The blue ...
0
votes
1answer
23 views

How to pass selected row value as a public variable available to multiple view controllers?

How to have pass the value of a selected tableView to a public variable that can be accessed by multiple ViewControllers? Currently, in didSelectRowAt, I define the row selected as portfolio doing let ...
0
votes
0answers
3 views

Disable iOS Safari lock screen scrubber for media

Safari on iOS puts a scrubber on its lock screen for simple HTML5AudioElements. For example: const a = new Audio(); a.src = 'https://example.com/audio.m4a' a.play(); The lock screen will allow me ...
-1
votes
0answers
12 views

AppStore Rejects when i downgrade the Devices option from Universal to iPhone [duplicate]

AppStore validation throws error when i downgrade the App from Universal to iPhone and my requirement is to target the app only for iPhone. Validation gives below error. "Your app update must ...