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.

671,742 questions
0votes
0answers
3views

Automatic Animation Not Working in ScrollView in SwiftUI

I am trying to make an automatic custom paged ScrollView but I have run into an issue. I specified in my code for every 5 seconds to add an increment of 1 and go to the next page and organized text to ...
0votes
0answers
4views

Cannot get mainBundle resources (returns null)

I'm trying to access a resource file I added in the app using relative pathing. I've read that I was supposed to use something like this : NSBundle *mainBundle = [NSBundle mainBundle]; NSString *...
  • 101
-1votes
0answers
21views

Use Variable in Different View

Main View Second View I am working on a T-Shirt App for people to buy shirts. I am having trouble passing the selected size to the cart view. The selected Size variable is a state variable with the ...
0votes
0answers
17views

Swift Dynamic Height: CollectionView inside CollectionViewCell

we have collectionView inside another collectionviewcell and base on inside collectionview's content size we have set that to parent collection Below is the scenario CollectionView // Parent ...
0votes
0answers
15views

@objc method not recognized in #selector argument [duplicate]

I have this method @objc func closeViewController(vc: UIViewController){ vc.dismiss(animated: true) } And I call it here: let tap = UITapGestureRecognizer(target: self, action: #selector(...
0votes
0answers
7views

Notification stop working suddenly in ionic ios

I'm using FCM with cordova 9. I uploaded my project to TestFlight while app notification was working fine. Then, I was about to use NotificationServiceExtension using xcode following this link https://...
0votes
0answers
11views

UIStackView subviews don't recalculate height when something changes

In my app, I have one UIStackView that contains two views. I want that, when one of those views disappears or grows in height, the other one adapts by occupying all the remaining space. But what ...
0votes
0answers
19views

Best way to share an entire page (UI and logic) between react native repos?

I am working on two react-native repos at the moment, and they both share an entire navigation section, say blog. Things I need to consider: Both the apps will have almost the exact page/screen, so ...
0votes
0answers
7views

Restore Purchase - RevenueCat webHook

So we get rid of all AppStore/PlayStore integration for processing payment and rely fully on RevenueCat webHook. the main issue that we encounter so far is that when we have a restoreSubscription the ...
0votes
0answers
11views

.ephemeral says that dont exist in UNauthoritazionStatus

When i try to built my app coming from PWABuilder in Xcode in IOS it says Type 'UNAuthorizationStatus' has no member 'ephemeral'I've checked Apple Guide and it says it exist. Im not an expert in IOS ...
0votes
0answers
21views

How to post silent notification using onesignal rest api C#

I am beginner in using this api and it's services. I have tried lots of thing but nothing worked for me, Just wanted to push silent notification. Any suggestion will be appreciated and Thanks in ...
0votes
0answers
6views

/bin/sh: /Users/{userName}/Desktop/{name}/Test No such file or directory (React Native Ios build issue in Mac book)

Project is in React Native Cli. Error screenshot RN version : 0.68.0 Mac book modal : 11.67 react version : 17.~.~ XCode version : 13.1 this error occur on local run of react native cli project. ...
0votes
0answers
7views

iOS: SyntaxError: Invalid regular expression: range out of order in character class (Vue3)

I am trying to go in production with my vuejs (Vue 3) website. Everything is working fine but yesterday I tried it with iOS Safari and was shocked because it only renders a white blank page and an ...
0votes
0answers
26views

Weird Gap in iOS UITableView Cells in iOS 15

Gap in UITableView Cells I have added a UITableViewController through code but in iOS and it works okay in iOS 14 but in iOS 15 it shows a weird gap between cells. I have tried everything that is ...
0votes
0answers
11views

No such module 'Flutter' : Xcode 13.3.1 - in extension

I'm trying to run a flutter app - iOS with the following environment Xcode Version 13.3.1 (13E500a) flutter sdk: 2.10.0 dart: 2.16.2 but I get "No such module 'Flutter'" inside a file in ...

153050per page