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

Swift 5 | UITextField is not editable, has only Touch-Events, no Editing-Events

I have a UITextField above a Google Maps View (GMSView). When I tap on the Textfield it does not become the first responder, neither do any of the delegate or action events work (Delegate Event like ...
0
votes
1answer
22 views

What is the easiest way to access deeply nested json data using iOS and Swift?

I am using Swift 5.1 and I have a deeply nested json file and I am just interested in accessing a few elements within the json file and ignore the rest of the data. For instance, I just want "...
0
votes
0answers
6 views

UISegmented Control Inner view should call API after view has been shown

I have a 'UISegmentedControl' which is programatically added in the view controller named SegmentControllForRides. (i added UISegmentedControl programatically because segment items will be changed ...
0
votes
0answers
6 views

Is it possible to export an XCFramework which itself embeds an other XCFramework?

The last WWDC introduced XCFramework which is an easy way to distribute an universal framework. I've been using it and it works great. Now, let's say I have an app "A", which embeds a framework "B" (...
0
votes
0answers
5 views

Metal performance on iPhone XR

I have a kernel Metal function which basically looks like this: struct Matrix { half arr[562500]; //enough to store 750x750 matrix }; struct Output { half arr[12288]; }; kernel void ...
0
votes
0answers
22 views

Why use “weak” keyword in Swift when declaring Views in a ViewController for iOS

What is the difference between the following methods of setting up views in a ViewController force-unwrapped: class VC: UIViewController() { var customView: UIView! override func ...
0
votes
0answers
10 views

How to use a apache 2.0 licensed library

i am using library which is under apache 2.0 license and i don't know what should i do. I install it using cocoa pods on my IOS project and now what should I do. I read parts of the license and i am ...
0
votes
0answers
6 views

Change chevron color by replacing it in modifyCell with new sf symbol chevron.right

Id like to use the system image chevron.right for my accessory icon and replace what is currently there so I can control the color. Right now with iOS 13+ the tint color is not updating like the text ...
1
vote
1answer
20 views

ios UITableview multiple select options on single cell?

Has anyone found a really good way to handle this case in UI? We have a tableview with a list of items (long list). Each item is a row and it can be either "selected" or it can be drilled into to ...
-1
votes
1answer
12 views

Sprite physics showing up but not physically showing up in Swift (SpriteKit)

I set up the sprite's physics body, zPosition, color, size, etc., but it won't appear visually. (It has the highest zPosition of my sprites, and YES I did import SpriteKit) let wall = SKSpriteNode() ...
-1
votes
0answers
6 views

Can I use the San Francisco font to design the interface of a commercial program for iOs?

Commercial program for iOs is developed in Qt/qml/c++. Can I use the San Francisco font? If the use is valid, which FontFamily should be specified for the components (or the entire program)?
0
votes
1answer
13 views

How To Setup A Default Profile

I have successfully created a sign-Up screen that sends all User Info to Firebase Database such as (Username and Profile image). Now I need that same information to pop up and go directly to my User ...
0
votes
1answer
18 views

save current time from date picker for show showing local notifications as a reminder

In my app i have a screen in which there is a datepicker whose datepicker mode i have set to time. Now when i navigate to this screen, there is also a switch for on and off of setting daily reminders. ...
0
votes
0answers
13 views

Can UI elements be cached and ignore code instructions?

I need to show / hide the mobile icon (button) depending on the data in the model. To display models to the user, I use the UICollectionView. A cell is a custom class that contains a model on the ...
0
votes
0answers
7 views

How to call Ionic methods from iOS cordova plugin

Need to invoke the ionic method when a call back is fired from iOS native. Is there any use case where we can accomplish this task in ionic.
-1
votes
0answers
6 views

prefent terminate by system ios when idle on background state

So, I'm righ now try to make online streaming using vlcMediaPlayer library. Right now I 'm facing the problem, it happend when the music is paused. If I set an auto lock system will terminate my app ...
0
votes
0answers
6 views

Appium+Java iOS check if device supports the “Touch ID” or “Face ID”

How can I get whether current iOS device supports faceId_supported or touchId_supported if(faceId_supported) { driver.executeScript("mobile:sendBiometricMatch", ImmutableMap.of("type", "faceId", "...
1
vote
0answers
14 views

Flutter App - ERROR, Xcode **BUILD FAILED**

Here's my terminal output: I have tried to update Xcode but i still get the same error. When i run flutter -doctor v it passes all cases, and theres a check-mark in every section. I have tried to ...
0
votes
1answer
16 views

How to build a table view with collapsible sections?

I made a table view but I only want that the last section collapse when I touch it. The problem here is that sometimes other sections collapse too. What is wrong? func tableView(_ tableView: ...
0
votes
0answers
6 views

Advice configuring my Django Push Notifications for IOS

I am currently trying to configure some notifications to be sent to my ios app. I currently run a django webapp that I would like sending out push notifications. There have been a few questions as I ...
2
votes
2answers
34 views

What is a development pod?

I am new to CocoaPod and IOS in general, I am trying to use a framework I built locally in my podfile as follows: # Pods for Example pod 'OsonWidget', :path => "../OsonWidget/" when I run a pod ...
0
votes
0answers
4 views

Firebase dynamic link not opening correct app when multiple flavors are installed on iOS

We developed a flutter app for Android and iOS, with different flavors: dev, test and prod, so we have 6 apps in total. To on-board the user, we send a firebase dynamic link via Email (with a deep ...
0
votes
0answers
7 views

RTCFileLogger: How to decode log file?

If you use RTCFileLogger or RTCPeerConnection's startRtcEventLogWithFilePath they both log data that seems to be encoded in some format that is not human readable: ∆äÚïï ‡“Úïï ZÃÆë∫ "øÃ˛ïï¢...
0
votes
1answer
19 views

'FBSDKAppEvents.h' file not found when using cocoapods for facebookSDK

I am trying to update FacebookSDK using cocoapods in my RN app and i keep getting error: 'FBSDKAppEvents.h' file not found. at file FBSDKCoreKit.h My pod file is target 'App' do ...
0
votes
1answer
16 views

Submit new app build when previous has rejected status and appeal is still open

What happens if I have an app in review with solution A (rejected but an appeal is in progress for a week already) and I will send a new build with solution B to review? Does it automatically stop the ...
0
votes
0answers
34 views

iOS UIView becomes slower after suspend/resume

I noticed a strange thing: UIView becomes twice slower in terms of performing UIImage.drawAt after suspend/resume. I see 2x drop in FPS both on simulator and devices on iOS 9-13 after pressing Home ...
0
votes
0answers
7 views

iOS CBManagerState.unsupported in custom keyboard

When using CBCentralManagerDelegate in a custom keyboard extension centralManagerDidUpdateState always gives the unsupported state. I have updated info.plist with: NSBluetoothAlwaysUsageDescription ...
1
vote
0answers
11 views

Using Typekit (Adobe) fonts on React Native project?

I recently opened some mobile app mockups that I have to develop. I'm using React Native (with Expo). The thing is, this mockups use a lot of Adobe fonts (Typekit). I came across the doc: https://...
1
vote
0answers
9 views

UITableViewAlertForLayoutOutsideViewHierarchy error during batch update of UITableView with CATransaction

My app uses a tableView that is updated by batch updates. The cells have an indicatorImage that depends on the section of the table. When a cell is moved between sections, this indicator changes, ...
0
votes
0answers
9 views

GMV Barcode scanner on IOS - Camera screen is not immediately displayed

i have a cordova application with cordova-gmv-barcode-scanner plugin installed. On Android, everything works fine, but there is a weird bug on when i run it on IOS. What I am expecting ? After ...
1
vote
1answer
17 views

Passing a function that returns an object in Dart / Flutter does not work

I'm pretty new in Dart coding world. Please bear with me and please don't down vote me. I will fix anything just let me know.. So I'm using Sembast (ver 2.1.1) and coding in Flutter. I've created an ...
0
votes
1answer
16 views

Releasing highlighted state for UITableViewCell after returning to the screen

In UITableView, when tapping and holding a cell and (without releasing this cell) switching to another screen in tab bar and returning to the initial one, the cell remains highlighted (not selected) ...
-1
votes
2answers
33 views

how can I get tableview label value on button click in swift

I am new in swift and I want to get the value of label from tableview on button click I am using code like this but it is getting crash in cellforrowatindexpath cell.btnsubmit.tag = indexPath.row ...
-1
votes
0answers
11 views

SocketRocket IOS Swift unable to re open socket it is crashing

I am using following library for Socket connection https://github.com/facebook/SocketRocket Following is my code to create socket connection socketRocket = SRWebSocket(url: URL(?/questions/tagged/ios/string: streamUrl)!) ...
-1
votes
0answers
13 views

distribute catalyst mac app to macOS older than 10.15 [closed]

Can I distribute app for macOS versions older than 10.15?
0
votes
0answers
14 views

UITableView drag drop - limit cell drag to vertical direction

I have implemented Apple's Drag Drop delegates (UITableViewDropDelegate, and UITableViewDragDelegate). I adopted this solution from a sample app provided from Apple and it works great! Except: With ...
0
votes
0answers
20 views

Flutter Text field tap create widget rebuilt

I am developing an app on flutter. The problem is that whenever text input field is clicked parent widget is rebuilt thus creating problem because the provider of parent is disposed and called again. ...
0
votes
1answer
19 views

How to terminate speech recognition when user stop speaking with swift 5

I'm trying to make user speak and get what user says right. I read like 20 different articles about speech recognition and almost all is same. It keeps listening to user for like 1 minute or more. I ...
0
votes
1answer
31 views

How to display each month on X Axis using Charts (IOS)

I trying to use Charts, but i can't display each month on X axis, only through one. Look at picture. In stringForValue i tried to print value and it's show : 0 2 4 6 8 10 0 1 2 3 4 5 6 7 8 9 10 11 0 ...
-1
votes
0answers
13 views

if cell has uitextfield how to make uicollectionView Drag and drop reorder

i implemented uicollectionView drag and drop reorder items. That was possible when there were only uiimageviews in the uiCollectionViewCell. But the textfield was in the uicollectionViewCell, which ...
-2
votes
0answers
14 views

Dissolve the view when we swipe from top to bottom

ViewController 1 - List of images in CollectionView When the user clicks on an image, we are presenting modally with the transition as cross dissolve to VC2. ViewController 2 - Selected image ...
0
votes
0answers
5 views

ios 13 UIContextMenu shows shortened UIAction titles

I decided to addUIContextMenuInteraction to my UITableViewCell, it works fine, but the title that has 9+ letters (without image) or 6+ letters(with image) is getting shortened like this: ...
0
votes
0answers
13 views

Sign iOS Flutter application in Azure Pipelines

I can't sign my Flutter project when archiving to ipa file on Azure Pipelines. This is my build pipeline setup: Certificate get and built from Apple Developper program; Provisioning profile from ...
-1
votes
2answers
39 views

How can I access selected cell from collectionView of items? // items stored firebase

I connect my swift app with firebase and now I'm trying to get item key of selected item from the collection view to store selected item to the cart. import UIKit import Firebase import ...
0
votes
0answers
14 views

BLE central controlling 2nd central

I'm trying to make a phone app that will connect to a device. Both these devices are BLE centrals. The idea is that the device is a gateway that connects to other devices (which are a kind of sensors)....
-1
votes
0answers
36 views

What would be the best way to put together an App like this? [closed]

first ever question here. I'd like to put together an App for tracking employee locations, but I'm not sure the best process for building it/having it built. Here's an image of the kind of thing I'...
0
votes
0answers
17 views

Private Libraries with Cocoapods are not installed iOS

I was trying to achieve private libraries with Cocoapods, this is the link I fallowed https://uynguyen.github.io/2017/09/25/Create-and-Distribute-Private-Libraries-with-Cocoapods/ I done some of ...
0
votes
0answers
16 views

Pod install failing for react-native app (NoMethodError - undefined method `basename' for #<String:0x00007f81f0e20530>)

Pod install in ios folder of react-native app fails with the following error: The exact same repository when cloned on a different machine installs all pods without any issue. I am deleting my ...
0
votes
2answers
41 views

How to pass values or data between two function with parameters in swift?

I have been trying to pass lat and long from one function to another function but i am unable to do that...i have tried doing it using declaring a variables inside my class but the value it is ...
0
votes
0answers
17 views

syntax error with dynamic ALTER sqlite3_bind_text statement in obj-c

This code throws a error [logging] near "?": syntax error in "ALTER TABLE jobs ADD COLUMN ? text" NSArray *uArray = [NSArray arrayWithObjects:@"string1", @"string2", @"etc", nil]; const char ...