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

Remove commands from MPRemoteCommandCenter when playing with MPMusicPlayerController

I am playing music using MPMusicPlayerController.applicationQueuePlayer. It automatically supports the MPRemoteCommandCenter commands, which is great. However, I want to disable some commands, like ...
0
votes
0answers
7 views

Cant get scrollView to scroll (iOS 11, Xcode 11, swift 4)

I'm trying to get a ScrollView to just work, but I can't seem to get it right. I've created a project and added a scroll view to the initial ViewController. I've added 4 constraints of "0" to the top/...
0
votes
0answers
4 views

How to save/capture photo in portrait mode in IOS AVFoundation? Xcode 10.2 Swift 5

I set photoOutput.connection orientation to portrait but image continues to save in landscape mode. Am I supposed to change the settings somewhere else? func configurePhotoOutput() throws { ...
0
votes
0answers
10 views

ScrollView Won't Scroll - Xcode

I'm new to iOS development and Xcode and am trying to learn. First off, I know there are many posts on this very thing and I would not post unless I was desperate. I have quadruple checked all my ...
0
votes
1answer
8 views

Opening Custom UTI in App not working in iOS13

I have been using AirDrop for ages now to allow a document to be passed from/to iPhone users from within my App. The App generates a straightforward CSV file which is then AirDropped (or could be ...
0
votes
0answers
13 views

Changing test ads to real one

I'm almost ready to publish my first app to the App Store. I use AdMob banners and reward videos. I used test ID for both all the time as it said on AdMob website. But now I'm not sure about few ...
0
votes
0answers
7 views

How to call two JSON data load parallelly in a proper way using Swift?

In my Case, I am trying to load two tableview data using two different JSON. Here, I need to know if I call both JSON load function at a time in main thread it is a good practice or anything need to ...
-1
votes
0answers
6 views

how to assign different colors to dynamic list in flutter?

i am making a dynamic list view. i want to assign different colors to list. for example list1 will be green, list2 will be blue .... dynamically.i am new to flutter. Can someone help ?
-1
votes
1answer
58 views

How to use an activityIndicator

I want to make my activity indicator disappear when a certain amount of time passes. I already did the activity indicator but I don't know how to make it disappear once that time passes. I'm using ...
0
votes
0answers
11 views

Adding Files to Xcode Project to use Classes

I have created a new project in XCode 11.1 and when I downloaded a new charts.swift file my view controller which does not recognize the classes declared in the charts.swift files. I'm trying to ...
0
votes
0answers
23 views

How to recreate the design of WhatsApp chat “tiles” in iOS Swift

I want to create controls in my app that look like the WhatsApp chat "tiles", below is the "Today" tile as an example. How can I achieve this exact same look (maybe it is white top margin, dark bottom ...
0
votes
0answers
7 views

How can I stop multiple annotations from being made with only one press?

func addPin(_ sender: UILongPressGestureRecognizer) { let location = sender.location(in: self.mapView) let locCoord = self.mapView.convert(location, toCoordinateFrom: self.mapView) let ...
0
votes
0answers
8 views

Hide Menu page in Landscape mode iPad master details page

My app should work only on Landscape mode, till iOS 13 release it was working fine. After iOS 13, I noticed that the Master page (menu page) is visible on iPad screen as if I used split-screen. I ...
0
votes
0answers
10 views

Change path of .framework file in DrivedData build folder

I have two projects in a workspace A and B. Project A has a framework and project B has a schema named dev the product of the framework goes to path /Users/Me/Library/Developer/Xcode/DerivedData/Co-...
0
votes
0answers
14 views

How to set array inside CollectionViewCell - Swift

Im trying to set an array inside a tableview cell view (this cell is holding a collection view cell to present the data )= im using Moya to fetch data from an api and I'm trying to pass the array of ...
0
votes
1answer
14 views

Firebase - getting list of data in order (Last data first)

I am working on a chat application. I want to get the last 20 messages from the Firebase database and in order, the message was added. For example, if I have sent 3 different message "Hi", "What's up"...
0
votes
1answer
26 views

What is the memory efficient way to load 7000+ items in list view in flutter form sqlite database

I am new to flutter and creating an app that has more than 7000+ items preloaded into a database. I want to display all those items in a list view. I am currently querying the database once and ...
0
votes
0answers
12 views

UIBezierPath - can you “clip” one?

Say you have a UIBez you have built: Now I want to "clip" it, perhaps with this rectangle: So in the example the final path I want would be: (Alternately in the example you could "subtract" a ...
1
vote
0answers
13 views

Dismissing AVPlayerViewController doesn't 'kill' the object - it's persisting

I am playing videos that are in my app bundle. They are playing correctly. However, when I call to dismiss the AVPlayerViewController, it visibly is removed from the view hierarchy but, if I turn ...
0
votes
0answers
7 views

Play only one AVPlayer video in UITableView

I want to display videos in UITableView like Instagram that will play automatically when the cell is fully visible and pause when the cell isn't fully visible. I tried this: extension ...
0
votes
0answers
6 views

macOS - NSObjectController class does not receive notifications

I have added an object controller object to my storyboard and associated a NSObjectController based class to it. This object controller is the delegate of a NSToolBar. As the app runs, this class ...
0
votes
0answers
31 views

Errors on Apple app reviewer's device during the app review when trying to connect to Azure SQL Server Db

I tried to release the iOS app in the Apple App Store. But it failed the review. The app connects to Azure SQL Server DB on startup. It is implemented in C# Xamarin.Forms. Initially (build x.x.x.0), ...
0
votes
0answers
18 views

Trying to generate layout in UICollectionView

I'm trying to generate a layout in Swift. I've added layout output, but 3rd box must be below of 2nd box. 1st and 4th boxes must remain same. How can I do it? My code: import UIKit class ...
-3
votes
0answers
16 views

Navigation bar to the top on iphone xr [duplicate]

I managed to place the Search Bar at the very top, but how can I do the same with the Navigation bar? ( That there was no white.) Search Bar (example) my Navigation Bar in Storyboard
0
votes
3answers
31 views

How to block some firebase push notifications?

I have some parameters. Server send push notifications every devices but if parameters are on it can see notification with devices. I can send firebase push notification successful and I can get ...
0
votes
0answers
17 views

Apple Developer Enterprise Program - how long?

I already have a Apple Developer Account, and 2 months ago registered for an Enterprise Developer Account, due to the absence of MDM CA ability in the regular developer account certificates. I've ...
0
votes
0answers
12 views

AttributeGraph: cycle detected through attribute using @State in playgrounds

I'm trying to use SwiftUI's @State in playground. Here's my code: import UIKit import PlaygroundSupport import SwiftUI struct ContentView: View { @State private var showGreeting = false var ...
1
vote
0answers
16 views

React Native PDF Signature

I’m trying to implement a pdf digital signature component for a react-native app. I am using react-native-pdf for rendering the pdf on the screen and react-native-draggable for dragging the signature ...
0
votes
0answers
8 views

How to hide URL Bar on IOS Safari on iPhone X and newer?

I would like Safari on Mobile to hide the URL Bar when the iPhone is in Landscape mode. I used the following code which works perfectly on my iPhone 7, but on the newest iPhones is not (Tested on ...
0
votes
2answers
21 views

accessing to an online service

I am struggling with a technical/functional issue and I would appreciate your views on how to tackle this. I have a service hosted (web app) and my clients can access to this service either using ...
-1
votes
0answers
10 views

Pass data into Call Directory App Extension from React Native

I have an application made for iOS with React Native, I also have Call Directory App Extension for calls blocking and identification. What I want to do is to be able to manage Call Directory data from ...
0
votes
1answer
34 views

Limit UITextField to Int input

I'm using shouldChangeCharactersIn to determine if the input of a given type of UITextField is an Int. No matter what character I input into said field, I get back: input isn't a number func ...
0
votes
0answers
11 views

SF Symbol not showing correctly in UIImage

I am using heart and heart.fill symbol in my app on UIImage element using below code. if favorite { if #available(iOS 13.0, *) { cell.likeImage.image = UIImage(systemName: "heart....
0
votes
1answer
21 views

iOS PWA suppress Toolbar

I've written a simple Angular PWA, that I have added on my iPhone to the Homescreen. To remove the Safari Toolbar, I have already included in my index.html: <meta name="apple-mobile-web-app-...
0
votes
0answers
9 views

Issue while Build and install ios app using flutter and codemagic on Ubuntu

I tried to build flutter ios app using Codemagic and install with Cydia Impactor. I am using Ubuntu 18.04. The link is what I refered to. ==> Developing and debugging Flutter apps for iOS without a ...
0
votes
0answers
12 views

Xcode 11 can't see app icon's pack of iMessages extension after update

I can no longer set iMessages app icon type file to the extension app in the target->general->App icons->App icons source. It can't see iMessages app icons pack But I have it It's like searching not ...
-1
votes
0answers
12 views

Problem with desgin new app ios by xamarin [on hold]

We have a problem in the application of ios by language xamarin problem in the design has been lifting the application and the image splash excellent and also login the rest of the application very ...
0
votes
0answers
21 views

How to load a long array into an app for permanent use?

I have an array of 1000 values that is to be loaded by an app (which is now working with the data contained in the constant in the code but need to be separated from the app as the app is supposed to ...
0
votes
0answers
9 views

How to animate GMSURLTileLayer

I have an array of last 10 epochs time. And I want to create an animation GMSURLTileLayer with these epochs. I tried to integrate with for loop but it is not working. This is my code: let epochs = [...
0
votes
0answers
10 views

Copy images to device in debug build configuration

I am working on an application in React Native. I have an issue where images aren't loading because a view containing images is [intentionally] loaded once and does not re-render, therefore not ...
0
votes
0answers
17 views

Multiple GADBannerView in UiCollectionView is not scrolling smoothly in Objective C

I have a collection view in my project with lots of data coming from a web service, with GADBAnnerView(AdMob) on every 4th position. Ads are showing but it doesn't scroll smoothly. - (void)...
0
votes
0answers
13 views

How do you use Flutter Flavors in Xcode

I have an existing project (20k lines of code) that I now want to build for iOS (The project has been developed and tested using Android, though I did check that every package it depends on indicates ...
0
votes
0answers
46 views

Implementing bluetooth support with pure Swift UI?

Im new to iOS development and ofc Swift too. I want to create an app that connects to a specific device and do some stuff. Problem is I've only found information about doing this the "old way" using ...
-3
votes
0answers
18 views

How to use: UIView's “userInteractionEnabled” instead of '' beginIgnoringInteractionEvents" which was depraced in IOS 13.0?

I want to convert my code into this new logic func searchBarSearchButtonClicked(_ searchBar : UISearchBar) { // ignoring user UIApplication.shared.beginIgnoringInteractionEvents() // ...
0
votes
0answers
26 views

Scraping Snapchat Top Trends with Python or any other language?

I was trying to scrap/save top trends that we can see on "Discover" in snapchat. Is there any way to extract the top trends directly with application, by any API or some third party solutions. I ...
0
votes
0answers
27 views

AVAudioPlayer crashes on iOS 13

I use this code to play audio: let url = Bundle.main.url(forResource: "0", withExtension: "mp3")! do { audioPlayer = try AVAudioPlayer(contentsOf: url) ...
-6
votes
0answers
58 views

How to transfer to google map [on hold]

how can I transfer to google maps with a click of button/tap gesture I already have the coordination but how can I transfer to google maps with the coordination and showing on google maps please ...
-1
votes
0answers
10 views

MLWordTagger gets stuck on “Starting CRF training with x samples” . What could be possibly wrong?

I am trying to train a NER model on ios using MLWordTagger in the CreateML module of ios. It gets stuck on "Starting CRF training with x samples" and the playground keeps running indefinitely with no ...
-1
votes
1answer
32 views

How to handle weight conversions

I'm currently facing an issue converting between metrics and imperial weights when working with gym equipment. So here in the UK we work with weights in Kilo's where they can increment by 1.25, but ...
0
votes
1answer
31 views

Xcode11 dyld: Library not loaded … Reason: image not found

I am using Xcode11 I am getting following error, when I try to use a framework in a SampleAppSwift project: dyld: Library not loaded: @rpath/VoiceSampler.framework/VoiceSampler Referenced from: /...