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
4 views

iOS game is running under its desired frame rate on a lower-powered model. What are a few examples of how one could determine the bottleneck

Your iOS game is running under its desired frame rate on a lower-powered model with the same assets. Give a few examples of how you would determine the bottleneck This question is for homework. I do ...
0
votes
1answer
21 views

how open viewcontroller from collection view?

I am new to development in ios and I would like to know how to open a new viewcontroller from collection view. I have my collection view, now i want to open my viewcontroller color purple when image ...
0
votes
0answers
8 views

This app has attempted to access privacy-sensitive data without a usage description.it requires “NSLocationWhenInUseUsageDescription”

this error occurs This app has attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an “NSLocationWhenInUseUsageDescription” key with a ...
0
votes
0answers
18 views

Thread 1: Fatal error: Unexpectedly found nil while unwrapping an Optional value on Xcode 11 [duplicate]

i try to do play some audio files but i dont know whats wrong, i try this code but when i compile my project xcode show me thi error Thread 1: Fatal error: Unexpectedly found nil while unwrapping an ...
0
votes
0answers
7 views

Making CAReplicator display horizontally

I was wondering if there was a way to take the CAReplicator, which in my use case creates two camera previews stacked on top of one another, and instead render these two horizontally. My ...
0
votes
0answers
8 views

Interpreting IOS local-notification-actions when the app isn't running? [duplicate]

In short, I schedule a local notification to the user, which they can reply to with text. If the app is running (in either the foreground or the background), then userNotificationCenter(_:didReceive:...
0
votes
0answers
16 views

macCatalyst: How to close the camera require For Mac version App?

I am very new to Mac development, and My catalyst app was reject for 4 times now. The reason is that my App in iOS require camera to take photo, but it's useless on Mac. However, I try to close the ...
0
votes
1answer
23 views

Custom top left and top right corner of a tableview header

I want to add round corners to top left and top right corner of a tableview header programmatically.
-1
votes
0answers
10 views

Crash on raising the keyboard on 13.1

I have the following code for when you click on a UITextView it will raise when the keyboard is shown. This is code in my ViewDidLoad() NotificationCenter.default.addObserver(self, selector: #...
0
votes
0answers
16 views

How to give action to left navigation button using swift [duplicate]

Calling setupNavigationBar() function in viewdidload(), The left bar button has camera image and given action. Doesn't seems to work. Anything wrong I am doing? func setupNavigationBar() { var ...
0
votes
0answers
9 views

iOS 13 thumbnail extension (QLThumbnailProvider) not being called

My document browser-based test app is working fine. It shows the browser. It has a special exported document type. I can create files of that type, I can open files of that type. There's just one ...
0
votes
0answers
13 views

AWSS3TransferUtility unable to upload uppercase files and subfolders

Using the AWSS3TransferUtility I am able to upload files and subfolders with the lowercase names. I did not have this problem when using AWSS3TransferManager
0
votes
1answer
27 views

Issue with value types and init’s

I’m following an old tutorial on setting up a data structure to view RGBA values in an image. For the most part of gotten past all of the out of data stuff, but I’ve run into an issue that seems ...
0
votes
1answer
18 views

Is there a way to only activate the cancel button on a search bar while editing?

I know you can do this with the clear button on a text field like this: self.searchController?.searchBar.searchTextField.clearButtonMode = .whileEditing But is there something similar for the cancel ...
0
votes
0answers
19 views

round bottomRight with byRoundingCorners not work

I'm trying to make round corner for topLeft and rightBottom, the top round work well but leftBottom still rectangle, I searched a lot I think it's overlap issue but don't know how to fix it, please ...
0
votes
0answers
14 views

iOS 13: NavigationBar BarStyle is ignored when using UINavigationBarAppearance

I have a custom colour Navigation Bar and I need to make sure the Status Bar colour is set to white. In pre iOS 13 this was easy to do, here is a code snippet from a UIViewController that did the job ...
0
votes
0answers
15 views

iOS13: PopoverPresentationController - the border on the arrow side is missing

enter image description hereIn the same theme as this post: ios13 UIPopoverViewController showing UITableViewController - Safe Area problems / Missing parts of table But in my case, it is not ...
0
votes
0answers
12 views

why the build input file cannot be found ? even though the file is exist on the project directory?

I have error like this: error: Build input file cannot be found: '/Users/dev.adsapps/Documents/Lakuin/Lakuin_iOS/Versi1/project file/Lakuin/Lakuin/Service/LocationService.swift' (in target '...
0
votes
0answers
6 views

UISearchController/UISearchBar behaves differently under macOS than iOS

I have a standard UISearchController with a standard UISearchBar. The search bar is shown in the navigation bar. Everything works as expected on iOS/iPadOS. But the search bar behaves differently ...
-1
votes
0answers
11 views

Is it possible to draw a route between many locations on map in Flutter app using Google Maps?

I create an app in Flutter and I want to draw a route between many locations using Google Maps. I know that possible is created route between two lcoations but with many? Is it possible to create and ...
0
votes
0answers
16 views

Overlap view over child UIViewController

I'm adding a UIView inside a child UIViewController, and I want add a little bit scale to UIView that overlap the child UIViewController but I doesn't work, I tried with self.view.bringSubview(toFront:...
0
votes
1answer
27 views

Update property on model if value exists in another model

I have 2 arrays of 'launchers'. A launcher is basically modelled as follows struct Launcher { let id: UUID let title: String } My API returns an array of these launchers [Launcher] and I call 2 ...
-1
votes
0answers
15 views

Position Fixed Bug in iPad OS 13.1.3 Safari

position: fixed appears to be broken on iPad Pros running iPadOS 13.1.3 (and possibly other versions, I only have the one iPad to test with). This does not seem to be a problem on iPhones running iOS ...
0
votes
0answers
10 views

Tap Push Notifications : can't be directed to specific ViewController

I'm working on app that includes a messenger feature ,the problem is every time i tap on the push notification im directed to the app itself rather than the message itself, i believe the code is ...
0
votes
0answers
18 views

In iOS 13 how do I write a thumbnail into a saved document file?

I am saving a thumbnail image into my UIDocument file under the URLResourceKey.thumbnailDictionaryKey in my implementation of override func fileAttributesToWrite(to url: URL, for saveOperation: ...
1
vote
0answers
16 views

UICollectionView does not adapt correctly on iPad rotate

I am trying to make an adaptive layout using a UICollectionView On an iPhone I would like my view to stack, on an iPad I would like it to arrange 3 in a row. This is working, however when I rotate ...
0
votes
0answers
8 views

Access iOS microphone raw audio frames using Nativescript (javascript)

I need to check the noise dB level in a nativescipt iOS app. I can't use the nativescript-audio plugin, which uses iOS's AVAudioRecorder because it filters voice and doesn't deliver raw audio frames. ...
0
votes
0answers
6 views

open an especific app from notification Action Button on IOS?

I am working in a piece of functionality for an IOS app (with objective C) with local notifications using UserNotification framework. By now, I was able to schedule a notification and It gets display ...
0
votes
0answers
8 views

About 100 error in Xcode, Undefined symbol. In my unity project

I build and load my unity app on the app store. And now i make new release, project build successfully. But when i try to archive it in Xcode there are ~100 Undefined symbol errors. I tried to change ...
0
votes
0answers
16 views

will my app running without issue if it is used for iOS 13?

I am new in iOS development, and I will deploy the app to the app store. but currently apple has released iOS 13, and unfortunately I just have iPhone 6 that doesn't get the iOS 13 update. currently ...
-1
votes
1answer
24 views

Pass data to two view controllers in the two tabbars

I have a login page that get a username from user this login page is connected to a UITabbarController which contain for tabs (viewControllers). After tapping on login button, I pass the username to ...
0
votes
1answer
11 views

Proportional width and height with main view in iOS

To make application compatible with all sizes of devices, At some point we need to give width or height of UIControl in proportion with main view that is our self.view. So we used to assign ...
0
votes
0answers
33 views

How to dynamically execute C or C++ code in iOS?

I have an NSString containing C or C++ code in iOS, for example: #include <iostream> using namespace std; int main(){ cout << "Hello World" << endl; return 0; } How can ...
0
votes
0answers
10 views

Google Maps iOS: Move camera to show all markers present inside a cluster

When didTap cluster function is called, it zooms the camera to one of the markers present inside the cluster but I want to show all the markers that were in that cluster and focus the camera on those ...
-1
votes
0answers
10 views

Alamofire - The network connection was lost only in iOS 13.1.3

I am getting following error if I am using Alamofire in iOS 13.1.3 real device. However, it works in iOS 12.4 real device. I am using Alamofire 4.5. By the way, this API call is executing when user ...
0
votes
0answers
16 views

How to permanently dismiss error display in react native app

I'm using a ask for iOS application which is written in react native but I don't have good knowledge of react native. I just want to know that is there any way to permanently disable the error view ...
0
votes
2answers
36 views

How to make system font “Black Italic” in swift?

I am trying to add a system font of weight "Heavy" (not bold) and also try to make it italic. I saw other stackoverflow solutions but it does not seem to work. Here is what I have done: let ...
0
votes
0answers
5 views

Embedded Youtube videos not displaying in mobile Safari (iOS 13)

I have embedded some youtube videos with which seem to be playing without any issues on desktop browsers and indeed on most mobile applications I have tried, both Android and iOS, I tried different ...
0
votes
1answer
31 views

How to decode data of an array that is save and read from userDeafults - Swift

I am working on a project that it has a plist contains of rows of dictionaries , and then , I put all the rows of datas to an array and I save it to the useDefaults and all these things seems correct ,...
0
votes
0answers
25 views

Nativescript Textfield text and hint attribute not showing in IOS

I can not see text i typed (cursor moves as I type) and even the hint attribute of textfield is not displaying as well in IOS 13.1.3 using javascript nativescript. Has anyone run into this issue? My ...
0
votes
0answers
11 views

Problem with icons when try to run flutter app on XCode (for target Runner IPhone 8 and 11)

I'm trying to run (debug mode) in simulator (for target Runner IPhone 8 and 11) my flutter code but I have got this error: [email protected] 1x app icon only apply to ipad apps targeting releases of ios ...
0
votes
0answers
6 views

How to handle endless loop “Sign-in Required” after connecting to sandbox account (iOS 13.1.2)

I'm running UiTests using XCUITests framework, and part of my tests is a purchase tests. Most of the time I get the alert "Sign-in Required" with the text "Enter the password for ."(the dot is part ...
0
votes
0answers
22 views

Swift iOS Charts - Hide certain Bar Chart value labels

I am using the 'Charts' framework for my iOS app using swift and I am using the Bar Chart on one of my VCs but it looks quite messy at the moment because it displays the value labels for every value, ...
-3
votes
1answer
26 views

My segue is not executed after taking a pic

I'm developing an app which uses a camera and then the photo is supposed to be sent to another ViewController, but i'm not sure if it maybe the segue is not be able to there or that it is just be ...
0
votes
0answers
9 views

Flutter implement silver search bar inside cupertino bar?

I want something effect like this: As you know, this is a very common usage in iOS, but I don't know how to implement it inside flutter. I am using CupertinoNavBar inside a silver list, but I can ...
0
votes
1answer
28 views

Get Notification Body on iOS?

I would like to get the body-content/text of a notification and save that text in a variable after I clicked on an action button. For example, I get a notification and there are 2 action buttons. If ...
0
votes
1answer
26 views

Segue to different controllers from one cell (a detail view and a avcontroller)

When the cell is tapped if there is a video, I want to show only the video (in a avPlayerViewController), if there is no video it performs a segue to a detail vieww I have tried this: func ...
0
votes
0answers
10 views

iOS Auto Renewable Subscription minimum functionality and Free Trial outside of StoreKit

I'm implementing IAP for SaaS application. I nearly finished with Store Kit's integration, receipt validation and other development related stuff. But I still have 2 more questions regarding Apple's ...
0
votes
0answers
20 views

Application does not change after build and run [duplicate]

I have a problem with Xcode 11.1, after build and run, my application doesn't change even though I change the code. With simulators, no problem because the changes are taken into account. On the ...
0
votes
0answers
21 views

Apple rejects app due to third party REST API needs location?

I'm using a REST API for getting currency exchange rates, and it works very well. The problem I ran into is that Apple rejects my app due to missing purpose string regards location from third party ...