Use Stack Overflow for Teams at work to find answers in a private and secure environment. Get your first 10 users free. .

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.

Filter by
Sorted by
Tagged with
0
votes
0answers
3 views

Warning while setting up PushNotificationIOS on foreground in React Native

I am getting the following warning on Xcode while setting up foreground push notification on IOS: Assigning to 'id<UNUserNotificationCenterDelegate> _Nullable' from incompatible type '...
0
votes
0answers
7 views

React Navigation app crashes on release mode or via ipa on ios but works fine in debug mode

React native App with react navigation crashes on ios simulator and devices in release mode or via ipa using Xcode but runs fine on debug mode and also works fine in android. React Native - 0.56.0 ...
-1
votes
0answers
12 views

Long polling iOS

I have an one basic doubt that hasn't been found yet after looking in search and stackoverflow. I have a long polling backend implementation in PHP. The logic there is that connection remains alive ...
-2
votes
0answers
6 views

Using InApp Purchase for Authentication is violation of apple review guideline?

Looking to authenticate the application. Is it possible we can implement In App Purchase with free product, without violating any apple review guideline? I know we can authenticate with social media ...
-6
votes
0answers
14 views

Swift changing brackets on post method to server [on hold]

I have a problems with sending parameters to server , I have an array of dictionary , I want to change this [] brackets on dictionary array to {} on post.
0
votes
0answers
10 views

What is the best way to implement app state restoration using MVVM with dependency injection?

I have a project which uses MVVM architecture. Basically, the view model and its dependencies are constructed and assign to controller before the controller is displayed. I want to implement state ...
0
votes
2answers
14 views

SwiftUI: How to present new views on clicking ActionSheet button?

I have an action sheet consist of three actions Action_1 Action_2 Cancel If I tap on 'Action_1', My app should present ActionView_1(). If I tap on 'Action_2', My app should present ActionView_2(). ...
0
votes
0answers
6 views

Connecting and writing to multiple peripherals with one CBManager

I am trying to make an iOS application that uses the CoreBluetooth library to start/stop and transfer the data from multiple inertial measurement units that are equipped with HM-10 BLE 4.0 modules. I ...
-1
votes
0answers
4 views

iOS ARKit: How to draw x,y,z axis with drag/rotate gesture

I'm developing a measurement tool feature into one of my app. This tool will help user to measure any object by adjusting the axis to the object's width, length and height. Here is the expectation: 1. ...
0
votes
0answers
10 views

Notification in website for Ios and Android app

I have a quick question. I have been looking around for hours, but haven't really found what I am looking for yet. I just saw this message on a news website I always read [see picture attachment]. ...
1
vote
0answers
18 views

secondaryAudioShouldBeSilencedHint issue in iOS 13

After updating my device to iOS 13 today, I noticed that the background music in our app does not always return when the app is brought back to the foreground. Upon closer inspection, AVAudioSession....
0
votes
0answers
38 views

Why can't I call a function in a web view?

I am currently working on the ios project with swift. My problem is that I cannot call the function of the webview page. I followed the guide but it didn't work. My webview page is Spring-MVC ...
0
votes
1answer
24 views

Why is the second image not showing up when I try to draw on an image?

I am trying to make an image with graphics context to then share it on instagram. I have the code bellow from this q: How do I draw on an image in Swift?. The issue is that for some reason the second ...
0
votes
0answers
9 views

Openssl FIPS version for arm64 and iOS 10.0+

Now I need openssl fips for iOS version 10.0+ and arm64. All the doc I have read seems out of date now. How can I build openssl fips for the latest iOS version? I have tried https://github.com/...
0
votes
1answer
15 views

Possible to Partition Analytics into DEBUG and RELEASE?

I have been using Google Analytics since 2010, and am being forced to migrate to Firebase. Something I have always done and is critical to me is have 2 versions of the app on the developer console. 1 ...
0
votes
0answers
7 views

Audiokit, how to playback a modified buffer in a tap?

I use Audiokit (in Objective-C) for realtime audio processing. I feed a C++ algorithm through a tap or lazy tap where the buffer is being modified. I thought that would be obvious but...how can I ...
1
vote
0answers
17 views

Remove the app from the “Waiting for review”

I uploaded a new version of my app a few hours ago and it is now in "Waiting for review" state. there is a link there "remove this version from review", when I click this link and confirm the message ...
0
votes
0answers
22 views

How to assign a [UINT8] swift array to a C array

I am trying to assign a [UINT8] array from swift to C Array. But while I assign it gives the following error.... Cannot assign value of type '[UINT8]?' (aka 'Optional>') to type '(UINT8, UINT8, ...
0
votes
2answers
16 views

react native failed for task ':react-native-interactable:compileDebugJavaWithJavac'

i'm trying to run my app on android device i didn't try on ios, i have installed all the required dependencies. im working on windows, this is what i did => react-native run-android => and this what ...
1
vote
2answers
33 views

Dynamically Change iOS Nav Bar Color (Dark Mode)

I'm trying to implement a toggle for dark mode in my app - this would involve toggling the nav bar color to black when the UIViewController is already visible on the screen. I'm aware of how to do ...
0
votes
1answer
15 views

Creating Custom Mapbox Markers

I am new to working with MapBox on iOS and was wondering if anyone would have any experience with putting a custom map marker onto an iOS MapBox Map. I have tried looking at their documentation but ...
0
votes
0answers
6 views

Apple Touch Icon not loading (Web Clip / Safari Bookmark, Reading List & Favourites Icon)

Problem I can't get the Apple Touch Icon to work for my Wordpress website. Meaning the Icons that normally appear when you "Add to Reading List", "Add to Favourites" and "Add to Homescreen" in Safari ...
0
votes
1answer
11 views

| AngularJS (ng1) / TS / PhoneGap | on iOS <select> will display the wrong option, but model contains correct option

framework: Angular 1 platform: iOS When using a <select> on iOS, the view will display the next <option> in the list once one is chosen while the model will contain the correct value. ...
-1
votes
0answers
10 views

what devices and os should be considered for testing bluetooth in andriod and ios apps

I need to test bluetooth connection with iOS and android apps. Looking to know what version iOS and android devices should be considered in scope and why. We have list of devices what we should ...
0
votes
0answers
11 views

How to localize .storyboard and .xib files without clicking on Localize button?

I have a large iOS project that has hundreds of .storyboard and .xib files. Some of these files are localized, but most are not. I have tried un-checking and checking the 'Use Base ...
0
votes
0answers
19 views

Recommended way to show a modal on iOS?

It's a common case: I have two div's, let's call first and second. Both div's has a lot of text inside it. The second div is initially hidden (display: none) and has position: fixed. The problem ...
0
votes
0answers
18 views

Hyperlink in UILabel when language can change

I have a requirement to hyperlink some text within a UILabel in Swift. The solutions I've seen involve pinpointing the character positions in order to do...like so: NSMutableAttributedString *...
-1
votes
0answers
14 views

Unrecognized Selector Sent to Instance Error with Shortcut Actions

I have an Obj-C iOS app, with home screen app icon 3D Touch/haptic shortcuts, however they cause the app to crash when used with Unrecognized Selector Sent to Instance. Here's the relevant code... ...
0
votes
0answers
4 views

What is the nma_deice_log_size_bytes error?

I notice in my crashlytics by FireBase and my BugSnag reports, that the app is crashing due to nma_deice_log_size_bytes errors coming from the NMAKit. I can't find any documentation on the issue, or ...
0
votes
0answers
21 views

How can I fix a revoked certificate?

I seem to be caught in the 9th circle of certificate/profile/signing hell. I get this notice from apple when attempting to test a little learner app on my iPhone: The following certificate has either ...
0
votes
0answers
4 views

Problem with reporting Firebase custom event in Google Ads for iOS

Custom event from iOS app stream is reporting in Firebase correctly but doesn't work in Google Ads for iOS app campaigns. Of course, Firebase and Google Ads are connected. Moreover first_open and ...
0
votes
0answers
15 views

How to detect device name in Safari on iOS 13 while it doesn't show the correct user agent?

After Apple's iOS 13 reales, I realized window.navigator.userAgent in Safari on iPad iOS 13 is same as on MacOS. Something like this: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15) AppleWebKit/605.1....
1
vote
0answers
15 views

How to disable “Reader View” panel in the iOS 13 web app?

After updating to iOS 13, our web app (Safari -> Add to HomeScreen) has this black "Reader View" panel on top. I know it is possible to remove it, since the Twitter web app does not have it, but I was ...
1
vote
1answer
25 views

SwiftUI - Using CoreData Fetched Result to Populate Picker

I'm following every guide I've seen online to bring in the managed object to the SwiftUI scene with environment and then run a @FetchRequest in the scene, all of it works great. I can use that result ...
0
votes
0answers
19 views

iPhone X UINavigationBar custom background image with UIAppearance

I'm trying to quickly adapt an old iOS app to be compatible with the notched display on the new iPhones. This has been relatively straightforward except for one UINavigationBar inside a ...
0
votes
0answers
14 views

How can i add SKScene to ViewContoller programatically?

I have a SKScene object which inits with size. And I made a MyParticle.sks file. I want to use particle file in my main view controller . #import <SpriteKit/SpriteKit.h> ...
0
votes
0answers
12 views

Autoplay Songs from iOS Library

When I pull audio files from my iPhone's library and the user clicks play, can I autoplay the next one without the user having to click play again? And is it possible to automatically change the ...
0
votes
2answers
36 views

Getting 'you cannot reject the app version in the current state' error trying to reject binary waiting for review

I'm trying to reject an app binary from app store connect because I discovered a bug and made a new build. The application status is 'waiting for review'. There's a button to reject the binary shown ...
-1
votes
0answers
19 views

Can't seem to create an Xcode extension

I've tried creating an Xcode extension following the instructions in: creating a source editor extension testing your source editor extension But when running the testing instance of Xcode, the ...
2
votes
1answer
61 views

How to get a String Contains number of Exact Sentence / Word in swift 4?

I looking for in my string exact number of word/sentence for example: What i am tried: let str = "Art of swift now art of swift5 but art of swift. is it art of swift?" var search = "art of swift" ...
0
votes
0answers
4 views

How to fix EnvEval error in CLIPS using swift

I'm trying to use CLIPS framework for iOS with Swift. I've done all the configuration and the CLIPS program run well and complete the computation successfully. Clips code: (deftemplate travel-...
-1
votes
0answers
14 views

Problem when running iOS project on my jailbroken iPhone with Xcode: Error: SpringBoard not linked into application

When I want to run my iOS project on my jailbreak iPhone I get this error: objc[23503]: class 'SpringBoard' not linked into application my app stock hang and couldn't stop the installing process in ...
-1
votes
1answer
25 views

How to create an image for user to share (withought having to display something on the screen and screenshot it?) [on hold]

Let say a user taps share button. Then we want him to be able to share a certain image to instagram. That image is a combination of display name and profile pic (and background). How do I go about ...
0
votes
0answers
8 views

AudioKit SynthOne crashes after returning from background

We're using a "skinless" version of AK SynthOne in our app (i.e., just the engine, with a collection of presets), and seeing a consistent crash when returning from background. In order to spare the ...
0
votes
0answers
53 views

How is “if #available(iOS 13.0, *)” implemented, and what effect does it have on run-time?

How fast is if #available(iOS 13.0, *), or checking any iOS version? Is it as fast as a set bool? Say if you have a real time camera effect running and every frame it checks using #available, is that ...
0
votes
1answer
22 views

Current Location using Google Maps and Swift

I need to show my real current location. I used these two tutorials as references: Google Maps SDK iOS and Ray Wenderlich. Neither helped show me my real current location it shows me Apple's ...
0
votes
1answer
10 views

Best way to track what users do in my iOS app with Firebase

I`m working in an app that currently track what the users is doing by adding an string to an array that is store in the users document in firebase cloud firestore. Example of an user document: ... ...
-1
votes
0answers
11 views

How to set only given values to xAxis, set equal distance between those values

I use ios-charts for making graphs in my app. I have some trouble in configuring x axis of line chart. I want it to have just a few specific given values and I want equal spacing between those values. ...
0
votes
1answer
35 views

How to solve JSON Codable TypeMismatch Decoding Error using Swift

I am getting JSON data by using Codable method. Here, In my JSON response most of the values receiving as a String but sometime it received Int. on that time I am getting Decoding Error like below ...
-3
votes
0answers
24 views

How to directly share an image to snapchat?

I have seen most questions about this say that you cant. But I have seen apps that do do this. So my question is: Can you share an image directly to snapchat? If so how? I share to insta like this:...