id stringlengths 7 11 | source stringclasses 1
value | category stringclasses 11
values | title stringlengths 15 214 | text stringlengths 70 30.5k | url stringlengths 57 160 | tags stringlengths 3 113 | created_at int64 1.22B 1.79B |
|---|---|---|---|---|---|---|---|
se_79042128 | stackoverflow | MOBILE_DEVELOPMENT | After UIAlert dismiss my screen becomes unresponsive IOS | After UIAlert dismiss my screen becomes unresponsive IOS
If screen is ideal for 5 minutes, I set AutoLogout it works perfectly, but when the UIAlert dialogue shows, it logged out but the alert remains shown on the login screen. Here is my code to dismiss my alert dialogue before logout:
- (void)dismissAnyAlertControll... | https://stackoverflow.com/questions/79042128/after-uialert-dismiss-my-screen-becomes-unresponsive-ios | ios, objective-c, uikit | 1,727,768,522 |
se_79900922 | stackoverflow | MOBILE_DEVELOPMENT | How can I access a certificate in my iOS app? | How can I access a certificate in my iOS app?
I am building an app with Flutter and am focusing specifically on iOS here. I want to pass a certificate installed on my iOS device to a proxy server with every HTTP request.
I have tried with installing pfx and a p12, and also deployed both a user-targeted and device-targ... | https://stackoverflow.com/questions/79900922/how-can-i-access-a-certificate-in-my-ios-app | ios, swift, client-certificates, intune | 1,772,633,202 |
se_11690395 | stackoverflow | MOBILE_DEVELOPMENT | My iOS app using audio units with an 8000 hertz sample rate returns a distorted voice | My iOS app using audio units with an 8000 hertz sample rate returns a distorted voice
I'm developing an iOS application with audio units, the recorded audio needs to at 8bit / 8000 hertz sample rate using alaw format. How ever I'm getting a distorted voice coming out the speaker.
I came across this sample online:
http... | https://stackoverflow.com/questions/11690395/my-ios-app-using-audio-units-with-an-8000-hertz-sample-rate-returns-a-distorted | ios, core-audio, audiounit, distortion, sample-rate | 1,343,401,104 |
se_79900353 | stackoverflow | MOBILE_DEVELOPMENT | How to change vertical alignment of individual items in SwiftUI HStack? | How to change vertical alignment of individual items in SwiftUI HStack?
I have the following code.
struct ContentView: View {
@State var textInput: String = "Testing"
private let inputCornerRadius: CGFloat = 24
var body: some View {
HStack(alignment: .bottom, spacing: 8) {
TextField("... | https://stackoverflow.com/questions/79900353/how-to-change-vertical-alignment-of-individual-items-in-swiftui-hstack | ios, swift, swiftui | 1,772,561,239 |
se_79900380 | stackoverflow | MOBILE_DEVELOPMENT | Swift string truncates / does not hold enough content | Swift string truncates / does not hold enough content
I am trying to build up something that uses wkwebview and javascript..So, I am having terrible issues with strings..
They are way too short, meaning that they don't have enough capacity. I have understood that string's capacity is huge, something like that it could... | https://stackoverflow.com/questions/79900380/swift-string-truncates-does-not-hold-enough-content | ios, swift, string | 1,772,564,355 |
se_79899905 | stackoverflow | MOBILE_DEVELOPMENT | SwiftUI: Can I change only the “off” track background color of a native Toggle (Switch) without losing the native appearance? | SwiftUI: Can I change only the “off” track background color of a native Toggle (Switch) without losing the native appearance?
I’m using SwiftUI’s native Toggle with the switch style. I want to change only the off (not-selected) track background color, while keeping the native iOS switch appearance and behaviour.
I tri... | https://stackoverflow.com/questions/79899905/swiftui-can-i-change-only-the-off-track-background-color-of-a-native-toggle | ios, swift, swiftui, switch-statement, toggle | 1,772,521,399 |
se_79890664 | stackoverflow | MOBILE_DEVELOPMENT | Hide dictation (microphone) button in custom iOS keyboard extension | Hide dictation (microphone) button in custom iOS keyboard extension
I’m developing a custom keyboard extension using UIInputViewController. When my keyboard is active on iOS 16+, the system places a dictation (microphone) button at the bottom-right corner of the keyboard area, outside of my extension's view.
I want to... | https://stackoverflow.com/questions/79890664/hide-dictation-microphone-button-in-custom-ios-keyboard-extension | ios, swift, ios-keyboard-extension, uiinputviewcontroller | 1,771,313,374 |
se_21158831 | stackoverflow | MOBILE_DEVELOPMENT | Cannot install a pod (fatal: unable to access 'https://github.com/CocoaPods/Specs.git/') | Cannot install a pod (fatal: unable to access 'https://github.com/CocoaPods/Specs.git/')
I'm trying to use the command pod install and always have that :
$ pod setup
OR
$ sudo pod setup
Setting up CocoaPods master repo
[!] Pod::Executable clone 'https://github.com/CocoaPods/Specs.git' master
Cloning into... | https://stackoverflow.com/questions/21158831/cannot-install-a-pod-fatal-unable-to-access-https-github-com-cocoapods-spec | ios, iphone, xcode, git, cocoapods | 1,389,867,101 |
se_26850758 | stackoverflow | MOBILE_DEVELOPMENT | CompileStoryboard build command failed | CompileStoryboard build command failed
The continuous integration job that we run to generate nightly builds of our iOS app runs an xcodebuild command on our project and it failed today with the following output:
The following build commands failed:
CompileStoryboard < Path to the storyboard >
The startling thing ... | https://stackoverflow.com/questions/26850758/compilestoryboard-build-command-failed | ios, xcode-storyboard | 1,415,645,241 |
se_79075979 | stackoverflow | MOBILE_DEVELOPMENT | Is NFC peer-to-peer supported on iOS? | Is NFC peer-to-peer supported on iOS?
I a planning an app that exchanges data using NFC peer-to-peer. On iOS, is it possible to use NFC peer-to-peer in my own apps? | https://stackoverflow.com/questions/79075979/is-nfc-peer-to-peer-supported-on-ios | ios, nfc, nfc-p2p | 1,728,590,276 |
se_17335353 | stackoverflow | MOBILE_DEVELOPMENT | UIView Animation for ImageView in ios | UIView Animation for ImageView in ios
i Have requirement were i have to animate image view from current position to full screen in grid view. i made images into Grid view.
- (void)viewDidLoad
{
[super viewDidLoad];
imagesArray = [[NSMutableArray alloc] init];
for (int i=1; i<11; i++) {
[... | https://stackoverflow.com/questions/17335353/uiview-animation-for-imageview-in-ios | ios, user-interface | 1,372,311,797 |
se_79899469 | stackoverflow | MOBILE_DEVELOPMENT | Animation bug on list when entering edit mode with swipe to delete disabled | Animation bug on list when entering edit mode with swipe to delete disabled
I'm trying to have an edit button on a list to be able to delete multiple items at the same time without the red delete controls at the start of each row.
To remove the delete controls I use this .deleteDisabled(editMode?.wrappedValue.isEditin... | https://stackoverflow.com/questions/79899469/animation-bug-on-list-when-entering-edit-mode-with-swipe-to-delete-disabled | ios, swift, swiftui, swiftui-list, swiftui-animation | 1,772,459,992 |
se_33369104 | stackoverflow | MOBILE_DEVELOPMENT | Set iOS language without restarting | Set iOS language without restarting
I am aware of quite a few posts that say this should not be done, or is not possible. I tinkered with a few ideas and now I'm asking this question, because I want to be absolutely sure there are no other options.
Option 1:
The most popular solution is to change AppleLanguages as ... | https://stackoverflow.com/questions/33369104/set-ios-language-without-restarting | ios, swift, localization | 1,445,951,937 |
se_79898585 | stackoverflow | MOBILE_DEVELOPMENT | SwiftUI iOS 26 - Toolbar Menu label icon intermittently disappears for ~1 second when Picker selection changes symbolVariant from .none to .fill | SwiftUI iOS 26 - Toolbar Menu label icon intermittently disappears for ~1 second when Picker selection changes symbolVariant from .none to .fill
I have a Menu in a toolbar whose label changes .symbolVariant and .foregroundStyle based on an inline Picker selection. When switching from the default state (no variant, pri... | https://stackoverflow.com/questions/79898585/swiftui-ios-26-toolbar-menu-label-icon-intermittently-disappears-for-1-second | ios, swift, swiftui | 1,772,308,860 |
se_62950180 | stackoverflow | MOBILE_DEVELOPMENT | Facebook Login is currently unavailable for this app | Facebook Login is currently unavailable for this app
I got this error when i try facebook login in the simulator, is this caused by facebook app config? How to solve it? | https://stackoverflow.com/questions/62950180/facebook-login-is-currently-unavailable-for-this-app | ios, flutter, facebook-login | 1,594,974,911 |
se_77207505 | stackoverflow | MOBILE_DEVELOPMENT | error (xcode): target debug_unpack_ios failed: exception: failed to codesign in Flutter and IOS | error (xcode): target debug_unpack_ios failed: exception: failed to codesign in Flutter and IOS
To fully understand and address the issue, it's important to read the entire text. If you've recently updated your macOS to version 14, Xcode 15 and are encountering the following error when using Flutter:
(Uncategorized (X... | https://stackoverflow.com/questions/77207505/error-xcode-target-debug-unpack-ios-failed-exception-failed-to-codesign-in | android, ios, flutter, xcode | 1,696,085,966 |
se_54234901 | stackoverflow | MOBILE_DEVELOPMENT | UIDocumentPickerDelegate method(didPickDocumentsAt) not called by iOS | UIDocumentPickerDelegate method(didPickDocumentsAt) not called by iOS
I have a query regarding delegate method not been getting called for DocumentPickerViewController, here's the background, I just need to import the resource whatever available from my Files App and for that reason i am using UIDocumentPickerViewCont... | https://stackoverflow.com/questions/54234901/uidocumentpickerdelegate-methoddidpickdocumentsat-not-called-by-ios | ios, swift, uidocumentpickervc, uidocumentpickerviewcontroller | 1,547,724,310 |
se_71480290 | stackoverflow | MOBILE_DEVELOPMENT | Element inspector not working (React Native) | Element inspector not working (React Native)
When I am clicking "Show inspector" in debug menu and then select any element, the info about it is not shown
I tried to use react-devtools, but it is not connecting for some reason
I made a reload, it started working again, and after one more reload stopped working... | https://stackoverflow.com/questions/71480290/element-inspector-not-working-react-native | ios, react-native, debugging | 1,647,338,606 |
se_61274375 | stackoverflow | MOBILE_DEVELOPMENT | Can't Remove Contact Information in Test Information Under Testflight in itunes connect | Can't Remove Contact Information in Test Information Under Testflight in itunes connect
I am trying to transfer an app from my account to another and i am stuck with the last criteria "You must remove all builds and testers from the app you want transferred and clear each information field below Test Information" ... | https://stackoverflow.com/questions/61274375/cant-remove-contact-information-in-test-information-under-testflight-in-itunes | ios, app-store-connect, testflight | 1,587,134,762 |
se_71401761 | stackoverflow | MOBILE_DEVELOPMENT | SwiftUI Keyboard Toolbar Conditional | SwiftUI Keyboard Toolbar Conditional
Not sure if this is a bug or if I'm doing something wrong but if I use:
.toolbar {
ToolbarItemGroup(placement: .navigationBarLeading) {
if isFocused == .zipCode {
Text("Test")
}
}
}
When the field equaling zipCode is focused, my text shows up. H... | https://stackoverflow.com/questions/71401761/swiftui-keyboard-toolbar-conditional | ios, button, swiftui, toolbar | 1,646,775,636 |
se_79898378 | stackoverflow | MOBILE_DEVELOPMENT | Facebook Login with Firebase on iOS — Do I need to update AppDelegate for URL scheme redirect? | Facebook Login with Firebase on iOS — Do I need to update AppDelegate for URL scheme redirect?
I'm building a Flutter app with Facebook Login integrated via Firebase Auth (flutter_facebook_auth + firebase_auth) and a Magento 2 backend. The auth flow works perfectly on Android but fails on iOS with the following error:... | https://stackoverflow.com/questions/79898378/facebook-login-with-firebase-on-ios-do-i-need-to-update-appdelegate-for-url-sc | ios, flutter, dart, mobile-application, facebook-authentication | 1,772,277,595 |
se_79898443 | stackoverflow | MOBILE_DEVELOPMENT | CarPlay CPListImageRowItem causes Inverted Scrolling and Side Button malfunction | CarPlay CPListImageRowItem causes Inverted Scrolling and Side Button malfunction
In my CarPlaySceneDelegate.swift, I have two tabs:
The first tab uses a CPListImageRowItem with a CPListImageRowItemRowElement. The scroll direction is inverted, and the side button does not function correctly.
The second tab uses multip... | https://stackoverflow.com/questions/79898443/carplay-cplistimagerowitem-causes-inverted-scrolling-and-side-button-malfunction | ios, swift, carplay | 1,772,288,833 |
se_79893356 | stackoverflow | MOBILE_DEVELOPMENT | CSS Hide div if inner div is empty fails on iOS/iPadOS | CSS Hide div if inner div is empty fails on iOS/iPadOS
Note: this question has been significantly edited to make it more clear what I am asking...
I have a div that I want to hide if a div inside of it is empty. I've been able to accomplish this by doing the following:
div.inside
{
background-color: green;
wid... | https://stackoverflow.com/questions/79893356/css-hide-div-if-inner-div-is-empty-fails-on-ios-ipados | css, ios, mobile-safari, ipados | 1,771,637,652 |
se_79891589 | stackoverflow | MOBILE_DEVELOPMENT | Flutter iOS build fails with "Framework 'Pods_Runner' not found" on Xcode 26.2 beta | Flutter iOS build fails with "Framework 'Pods_Runner' not found" on Xcode 26.2 beta
I'm getting a linker error when building my Flutter iOS app on the simulator:
Error (Xcode): Framework 'Pods_Runner' not found
Error (Xcode): Linker command failed with exit code 1 (use -v to see invocation)
Environm... | https://stackoverflow.com/questions/79891589/flutter-ios-build-fails-with-framework-pods-runner-not-found-on-xcode-26-2-b | ios, swift, flutter, xcode, xcode26 | 1,771,423,180 |
se_79898339 | stackoverflow | MOBILE_DEVELOPMENT | iOS 26 UIGlassEffect: Corner edge lighting disappears on a rounded rect, but works perfectly on a circle/pill shape. Why? | iOS 26 UIGlassEffect: Corner edge lighting disappears on a rounded rect, but works perfectly on a circle/pill shape. Why?
I'm currently playing around with the new UIGlassEffect in iOS 26, and I've run into a weird visual rendering issue with corners.
The Problem: I'm building a custom dropdown menu (VSCaptureModeDrop... | https://stackoverflow.com/questions/79898339/ios-26-uiglasseffect-corner-edge-lighting-disappears-on-a-rounded-rect-but-wor | ios, swift, ios26, liquid-glass | 1,772,269,807 |
se_24687238 | stackoverflow | MOBILE_DEVELOPMENT | Changing navigation bar color in Swift | Changing navigation bar color in Swift
I am using a Picker View to allow the user to choose the colour theme for the entire app.
I am planning on changing the colour of the navigation bar, background and possibly the tab bar (if that is possible).
I've been researching how to do this but can't find any Swift example... | https://stackoverflow.com/questions/24687238/changing-navigation-bar-color-in-swift | ios, swift, uinavigationbar | 1,405,030,725 |
se_36323903 | stackoverflow | MOBILE_DEVELOPMENT | How to send a silent Push Notification payload | How to send a silent Push Notification payload
I just want to know how I can determine what action to do on a silent push:
This is the aps that I sent to the client:
"aps": {
"content-available": 1
}
My problem now is when I add type: "Order_Update" to determine that the silent push is for the Order Update to ... | https://stackoverflow.com/questions/36323903/how-to-send-a-silent-push-notification-payload | ios, swift, push-notification, apple-push-notifications | 1,459,396,895 |
se_79898156 | stackoverflow | MOBILE_DEVELOPMENT | How could I access more information about a user's contacts from an IOS app? | How could I access more information about a user's contacts from an IOS app?
TLDR, I want to sort contacts using more context than meta data, is there a way I could access only some information from Imessages like chat length and contact information?
I'm building an app, and part of the sign up flow is to sort som... | https://stackoverflow.com/questions/79898156/how-could-i-access-more-information-about-a-users-contacts-from-an-ios-app | ios, iphone, react-native, contacts | 1,772,230,060 |
se_75705302 | stackoverflow | MOBILE_DEVELOPMENT | Core Media basics, understanding CMSampleBuffer, CMBlockBuffer and CMSampleBufferGetAudioBufferListWithRetainedBlockBuffer | Core Media basics, understanding CMSampleBuffer, CMBlockBuffer and CMSampleBufferGetAudioBufferListWithRetainedBlockBuffer
So, I'm trying to learn basics of Core Media since I need to process real time audio samples in my app. For now I know that I need to configure an AVCaptureSession setting an AVCaptureDevice used ... | https://stackoverflow.com/questions/75705302/core-media-basics-understanding-cmsamplebuffer-cmblockbuffer-and-cmsamplebuffe | ios, swift, audio, avfoundation, core-media | 1,678,541,756 |
se_8709085 | stackoverflow | MOBILE_DEVELOPMENT | How i can generate QR Code using my iPhone/iPad Application? | How i can generate QR Code using my iPhone/iPad Application?
I have some information like Name,company Name,Company Url,etc using this information i want to generate QR code for that so is there any free api is available for that or is there any way to generate QR code for this purpose? | https://stackoverflow.com/questions/8709085/how-i-can-generate-qr-code-using-my-iphone-ipad-application | ios, ios4, qr-code | 1,325,575,340 |
se_79897570 | stackoverflow | MOBILE_DEVELOPMENT | Automatically open app via universal link when browser navigates to the defined app link | Automatically open app via universal link when browser navigates to the defined app link
I have a website (for example, let's call it https://mycustomwebsite.com) that has the below apple-app-site-association file:
{
"applinks": {
"details": [
{
"appIDs": [ "TEAMID123.com.my.app" ],
... | https://stackoverflow.com/questions/79897570/automatically-open-app-via-universal-link-when-browser-navigates-to-the-defined | ios, url-scheme, ios-universal-links, universal-link, ios-urlsheme | 1,772,173,980 |
se_79880262 | stackoverflow | MOBILE_DEVELOPMENT | "APNS token has not been set yet" only when app is built via pipeline | "APNS token has not been set yet" only when app is built via pipeline
I'm making a flutter app for a client, and I'm currently setting up the push notifications using firebase_messaging: ^16.1.1. I've also set up a Github Actions pipeline.
The problem: if I release to TestFlight via Github Actions FirebaseMe... | https://stackoverflow.com/questions/79880262/apns-token-has-not-been-set-yet-only-when-app-is-built-via-pipeline | ios, flutter, github-actions, apple-push-notifications | 1,769,899,672 |
se_21557016 | stackoverflow | MOBILE_DEVELOPMENT | CSS-Banner Adjustment: Scale | CSS-Banner Adjustment: Scale
I'll be working with full-screen banners, just like this one or this other one and for this purpose I'm using a plugin in a Wordpress site.
Now I have set their respective widths to 100% (to avoid an x-axis scrolling and also to make the banners display fully on every screen size). Probl... | https://stackoverflow.com/questions/21557016/css-banner-adjustment-scale | html, ios, css, wordpress, width | 1,391,529,030 |
se_75752673 | stackoverflow | MOBILE_DEVELOPMENT | Is there a way to change corner radius of UITableView in insetGrouped style? | Is there a way to change corner radius of UITableView in insetGrouped style?
Like This-
Has anyone been in a similar situation? | https://stackoverflow.com/questions/75752673/is-there-a-way-to-change-corner-radius-of-uitableview-in-insetgrouped-style | ios, swift, uitableview, swiftui, uikit | 1,678,947,124 |
se_79897454 | stackoverflow | MOBILE_DEVELOPMENT | Complex Universal Deeplink don’t work in iOS | Complex Universal Deeplink don’t work in iOS
I am working on Universal Deep Links for iOS.
When I read Apple’s documentation, it suggests using “?” to pass parameters, but some AI sources suggest using “query” in AASA file.
My URL is:
https://abcd.com/login.do?param1=1235¶m2=abcd¶m3=kkk
Has anyone tried using ... | https://stackoverflow.com/questions/79897454/complex-universal-deeplink-don-t-work-in-ios | ios, iphone, aasa | 1,772,153,603 |
se_46078058 | stackoverflow | MOBILE_DEVELOPMENT | Connect swift to sql server | Connect swift to sql server
Swift 3 / Xcode 8.3.3
I have an SQL server running on phpmyadmin and I would like to send an SQL request (like : SELECT * FROM database) directly from my Swift code. I did a lot of research but all of the answer use PHP.
In the end, I would like to transform this Java code into Swift:
tr... | https://stackoverflow.com/questions/46078058/connect-swift-to-sql-server | ios, swift | 1,504,708,622 |
se_79888829 | stackoverflow | MOBILE_DEVELOPMENT | XCode - iOS - Flutter- Cannot open `Runner.xcworkspace` | XCode - iOS - Flutter- Cannot open `Runner.xcworkspace`
I am trying to port an flutter project into iOS.
Apparently, I need to open Runner.xcworkspace.I can see the file when opening finder from Runner.
But when I click on it, there is no selection (see screen shot below)
At some point I manage to make it show up an... | https://stackoverflow.com/questions/79888829/xcode-ios-flutter-cannot-open-runner-xcworkspace | ios, flutter, xcode | 1,770,995,593 |
se_79770044 | stackoverflow | MOBILE_DEVELOPMENT | SwiftUI ToolbarItem Button Not Expanding to Full Width Despite maxWidth: .infinity (iOS 26) | SwiftUI ToolbarItem Button Not Expanding to Full Width Despite maxWidth: .infinity (iOS 26)
I'm trying to create a toolbar button that expands to fill the available width in the bottom toolbar, but the button remains at its default size despite using .frame(maxWidth: .infinity).
.toolbar {
ToolbarItem(placement: .... | https://stackoverflow.com/questions/79770044/swiftui-toolbaritem-button-not-expanding-to-full-width-despite-maxwidth-infini | ios, swiftui, liquid-glass | 1,758,330,273 |
se_26732251 | stackoverflow | MOBILE_DEVELOPMENT | How to remove provisioning profiles from Xcode | How to remove provisioning profiles from Xcode
Does anyone know how to remove previously installed provisioning profiles from Xcode?
I have seen this link, but I am not able to find that location in my system.
So I think there must be some other way to remove provisioning profiles. | https://stackoverflow.com/questions/26732251/how-to-remove-provisioning-profiles-from-xcode | ios, xcode, provisioning-profile, ios-provisioning | 1,415,095,126 |
se_53545122 | stackoverflow | MOBILE_DEVELOPMENT | Is there any way to build IOS app on Windows? | Is there any way to build IOS app on Windows?
I'm developing native apps but I have a Windows pc. Is there an actual way to build iOS apps on Windows? And can I run an ios emulator on Windows? I researched but I can't find an actual way.
I tried to install MacOS Sierra on Virtual Box but it consistently restarting.
... | https://stackoverflow.com/questions/53545122/is-there-any-way-to-build-ios-app-on-windows | ios, react-native, nativescript | 1,543,514,885 |
se_68552447 | stackoverflow | MOBILE_DEVELOPMENT | Exclude or allow only certain urls using assetlinks.json | Exclude or allow only certain urls using assetlinks.json
Hello Everybody I am currently working with assetlinks.json trying to exclude urls containing the "/adm/" directory, in IOS I can do this defining into my https://mysite/.well-known/apple-app-site-association file this:
"NOT /adm/*"
example:
{
"activitycont... | https://stackoverflow.com/questions/68552447/exclude-or-allow-only-certain-urls-using-assetlinks-json | android, ios, android-manifest, deep-linking, android-deep-link | 1,627,425,146 |
se_79896289 | stackoverflow | MOBILE_DEVELOPMENT | How can I have a ScrollView scroll its contents to align with another View's bottom edge? | How can I have a ScrollView scroll its contents to align with another View's bottom edge?
var body: some View {
ZStack(alignment: .top) {
dateAndTime
ScrollView {
VStack {
storyContent
}
}
}
How can I get the ... | https://stackoverflow.com/questions/79896289/how-can-i-have-a-scrollview-scroll-its-contents-to-align-with-another-views-bot | ios, swift, swiftui, swiftui-scrollview | 1,772,029,578 |
se_79894980 | stackoverflow | MOBILE_DEVELOPMENT | How to call a function from a Button in Swift | How to call a function from a Button in Swift
I am VERY new to Swift! Pleas have mercy on my basic question.
I'm trying programmatically set up a button. I call a function like so:
override func viewDidLoad() {
super.viewDidLoad()
var yCord1 = 100
var yCord2 = 200
setUpButton("YES", y... | https://stackoverflow.com/questions/79894980/how-to-call-a-function-from-a-button-in-swift | ios, swift, uikit, uibutton | 1,771,882,527 |
se_79816937 | stackoverflow | MOBILE_DEVELOPMENT | Flutter overlays (Dialog, BottomSheet, ..etc) close immediately after opening on iPadOS 26.1 | Flutter overlays (Dialog, BottomSheet, ..etc) close immediately after opening on iPadOS 26.1
Flutter dialog or drawer closes immediately on iPadOS 26.1 (Flutter 3.35.x)
When launch a flutter app on an iPad device or simulator running iPadOS 26.1 (you can get the latest simulators by updating Xcode to v26.1), the issue... | https://stackoverflow.com/questions/79816937/flutter-overlays-dialog-bottomsheet-etc-close-immediately-after-opening-on | ios, flutter, ipad, overlay | 1,762,880,713 |
se_79894707 | stackoverflow | MOBILE_DEVELOPMENT | Send notification when app is force closed | Send notification when app is force closed
Apps that require you to keep it running in the background like Whoop, Tesla etc send a notification when you force close it.
How do they do this ?
As far as I know there is no way to detect reliably when you app is about to be killed.
appWillTerminate does not trigger if the... | https://stackoverflow.com/questions/79894707/send-notification-when-app-is-force-closed | ios, swift, unusernotificationcenter, ios-background-mode, ios-lifecycle | 1,771,859,355 |
se_79894698 | stackoverflow | MOBILE_DEVELOPMENT | How to get iOS LiveActivity to change status to timer completed | How to get iOS LiveActivity to change status to timer completed
I'm using the timerInterval for the live activity however when the timer expires it doesn't change its status to completed state and I couldn't find a listener to call that
Text(timerInterval: Date()...context.state.endDate, countsDown: true, showsHours: ... | https://stackoverflow.com/questions/79894698/how-to-get-ios-liveactivity-to-change-status-to-timer-completed | ios, swift, swiftui, timer, widgetliveactivity | 1,771,858,612 |
se_8662109 | stackoverflow | MOBILE_DEVELOPMENT | Using get_video on YouTube to download a video | Using get_video on YouTube to download a video
I am trying to get the video URL of any YouTube video like this:
Open
http://youtube.com/get_video_info?video_id=VIDEOID
then take the account_playback_token token value and open this URL:
http://www.youtube.com/get_video?video_id=VIDEOID&t=TOKEN&fmt=18&asv=2
This... | https://stackoverflow.com/questions/8662109/using-get-video-on-youtube-to-download-a-video | ios, url, download, youtube | 1,325,112,146 |
se_78904658 | stackoverflow | MOBILE_DEVELOPMENT | Navigation bar SwiftUI toolbar background | Navigation bar SwiftUI toolbar background
I set up my nav bar like this:
.navigationTitle(selectedTab == .users ? "Working with GET request" : "Working with POST request")
.navigationBarTitleDisplayMode(.inline)
.toolbarBackground(UIConstraints.primary, for: .navigationBar)
.toolbarBack... | https://stackoverflow.com/questions/78904658/navigation-bar-swiftui-toolbar-background | ios, swift, swiftui, navigationbar | 1,724,396,275 |
se_69521968 | stackoverflow | MOBILE_DEVELOPMENT | Why calling `DispatchQueue.main.sync` asynchronously from concurrent queue succeeds but synchronously fails? | Why calling `DispatchQueue.main.sync` asynchronously from concurrent queue succeeds but synchronously fails?
Here I create concurrent queue with .background priority:
let background = DispatchQueue(label: "backgroundQueue",
qos: .background,
attributes: [],... | https://stackoverflow.com/questions/69521968/why-calling-dispatchqueue-main-sync-asynchronously-from-concurrent-queue-succe | ios, swift, multithreading, concurrency | 1,633,934,264 |
se_72786622 | stackoverflow | MOBILE_DEVELOPMENT | App migrated to UIKit lifecycle doesn't call SceneDelegate | App migrated to UIKit lifecycle doesn't call SceneDelegate
We migrated our app from the SwiftUI to the UIKit lifecycle and app containment, creating a standard AppDelegate, SceneDelegate, and updating the required info.plist properties. I didn't follow this tutorial, but if you're unfamiliar, this is exactly what ... | https://stackoverflow.com/questions/72786622/app-migrated-to-uikit-lifecycle-doesnt-call-scenedelegate | ios, swift, swiftui, uikit | 1,656,420,035 |
se_79697544 | stackoverflow | MOBILE_DEVELOPMENT | How to resolve an App Store Connect that I'm missing required icon files. Validation failed error | How to resolve an App Store Connect that I'm missing required icon files. Validation failed error
I can no longer submit my app to App Store Connect via Xcode. No changes have occurred since the last time I uploaded successfully (the day before).
This issue started 7/8/2025, I have a version uploaded successfully ... | https://stackoverflow.com/questions/79697544/how-to-resolve-an-app-store-connect-that-im-missing-required-icon-files-valida | ios, xcode, app-store-connect | 1,752,177,296 |
se_71783032 | stackoverflow | MOBILE_DEVELOPMENT | iOS Safari/WebKit current state of PWA persistence as of version 15.2 | iOS Safari/WebKit current state of PWA persistence as of version 15.2
I am reevaluating PWA feasibility for mostly offline based, occasionally used applications.
So far I had experience that PWAs on iOS does not have permanent storage as the website allocated space is often subject to cleanup either due to lack of spa... | https://stackoverflow.com/questions/71783032/ios-safari-webkit-current-state-of-pwa-persistence-as-of-version-15-2 | ios, safari, webkit, persistence, progressive-web-apps | 1,649,337,955 |
se_79808497 | stackoverflow | MOBILE_DEVELOPMENT | How to properly respond to App Review rejection in AppStore connect | How to properly respond to App Review rejection in AppStore connect
My app was rejected during the App Store Review process with the reason incorrect / insufficient App Metadata (2.3.6).
We updated the Age restrictions to "None" and responded to the reviewer to explain the change.
Is this sufficient, or do I also nee... | https://stackoverflow.com/questions/79808497/how-to-properly-respond-to-app-review-rejection-in-appstore-connect | ios, app-store-connect, advice | 1,762,227,475 |
se_78288519 | stackoverflow | MOBILE_DEVELOPMENT | Unable to get SSL and HTTP Protocol Types Using Alamofire | Unable to get SSL and HTTP Protocol Types Using Alamofire
I'm using Alamofire in my project for networking. I need to extract data about the protocols used on the device from the requests, specifically the SSL encryption protocol type and the HTTP protocol type.
I'm utilizing Alamofire's API, which internally works wi... | https://stackoverflow.com/questions/78288519/unable-to-get-ssl-and-http-protocol-types-using-alamofire | ios, swift, network-programming, alamofire, urlsession | 1,712,507,251 |
se_79894568 | stackoverflow | MOBILE_DEVELOPMENT | Liquid Glass menu on UIButton shows a disappearing bubble | Liquid Glass menu on UIButton shows a disappearing bubble
I am currently developing an app that introduced a weird effect when built on iOS 26 with Liquid Glass. I simply have a square UIButton, that supposedly shows a menu when tapped. When done with all the liquid glass effects, a huge bubble appears below the menu,... | https://stackoverflow.com/questions/79894568/liquid-glass-menu-on-uibutton-shows-a-disappearing-bubble | ios, swift, uibutton, liquid-glass | 1,771,847,445 |
se_79177592 | stackoverflow | MOBILE_DEVELOPMENT | Error: Native module RNFBAppModule not found. Re-check module install, linking, configuration, build and install steps., js engine: hermes | Error: Native module RNFBAppModule not found. Re-check module install, linking, configuration, build and install steps., js engine: hermes
Package.json
"dependencies": {
"@react-native-async-storage/async-storage": "^2.0.0",
"@react-native-firebase/app": "^21.4.0",
"@react-native-firebase/auth": "^21.4.0",... | https://stackoverflow.com/questions/79177592/error-native-module-rnfbappmodule-not-found-re-check-module-install-linking | ios, react-native, podfile | 1,731,326,970 |
se_71350041 | stackoverflow | MOBILE_DEVELOPMENT | Is webViewWebContentProcessDidTerminate ever called for an app running in the background? | Is webViewWebContentProcessDidTerminate ever called for an app running in the background?
If a WKWebView terminates when an app is running in the foreground, webViewWebContentProcessDidTerminate will be called on its delegate.
But what happens if the app is in the background?
Will it still receive the callback immedia... | https://stackoverflow.com/questions/71350041/is-webviewwebcontentprocessdidterminate-ever-called-for-an-app-running-in-the-ba | ios, wkwebview | 1,646,389,767 |
se_79894787 | stackoverflow | MOBILE_DEVELOPMENT | Stack views under a another centered view | Stack views under a another centered view
In SwiftUI, how can you stack views below another view that is centered vertically?
In this example, the blue view is in a ZStack to be centered automatically. How can you add the text vertical stack (title + subtitle) to the ZStack to be under the centered blue view?
ZSt... | https://stackoverflow.com/questions/79894787/stack-views-under-a-another-centered-view | ios, swift | 1,771,864,527 |
se_79894699 | stackoverflow | MOBILE_DEVELOPMENT | How to achieve a "bouncy" tap effect on a SwiftUI Button like UIBarButtonItem? | How to achieve a "bouncy" tap effect on a SwiftUI Button like UIBarButtonItem?
How are we supposed to achieve a "bouncy" scale effect when tapping on a SwiftUI Button?
Here is an example of the specific effect I am looking for:
https://www.youtube.com/shorts/LbabwMtXIv0 (Button at the bottom right)
I am targ... | https://stackoverflow.com/questions/79894699/how-to-achieve-a-bouncy-tap-effect-on-a-swiftui-button-like-uibarbuttonitem | ios, swiftui | 1,771,858,637 |
se_79104701 | stackoverflow | MOBILE_DEVELOPMENT | Chrome on IPad does not handle Async response.json() functions properly | Chrome on IPad does not handle Async response.json() functions properly
When making a program that gets data from the server in json format, the program works in MS Windows (and on my Mac) but not on Chrome and Safari on iPad.
Putting one tab Chrome on iPad to the URL: chrome://inspect you get access to a very simple ... | https://stackoverflow.com/questions/79104701/chrome-on-ipad-does-not-handle-async-response-json-functions-properly | javascript, ios, json, ipad, fetch | 1,729,334,008 |
se_79891799 | stackoverflow | MOBILE_DEVELOPMENT | CloudKit records not deleted when removed from iOS app | CloudKit records not deleted when removed from iOS app
For an unknown reason, when I delete a record in my app, the CloudKit record does not delete. So the next time the app runs, the "deleted" records come back.
I add the records as follows:
func addReadingListBook (book: NYTBook, list: ReadingList) {
//set it
... | https://stackoverflow.com/questions/79891799/cloudkit-records-not-deleted-when-removed-from-ios-app | ios, swift, cloudkit | 1,771,443,261 |
se_79849696 | stackoverflow | MOBILE_DEVELOPMENT | Fetch iBeacon frame data in app quit state | Fetch iBeacon frame data in app quit state
I have a ble device that transmits custom data in iBeacon frame. I need to capture the data continuously even when the app is quit forcefully. entry exit event does fire randomly and that time data i am able to get it. But its not always. Also i need to get the data always ev... | https://stackoverflow.com/questions/79849696/fetch-ibeacon-frame-data-in-app-quit-state | ios, bluetooth-lowenergy, core-location, core-bluetooth | 1,765,993,433 |
se_79888108 | stackoverflow | MOBILE_DEVELOPMENT | Flutter iOS build failing with CocoaPods platform version errors, while Android works fine | Flutter iOS build failing with CocoaPods platform version errors, while Android works fine
I am working on a Flutter project that builds and runs successfully on Android (both real device and emulator), but when I try to run the same project on iOS, I keep encountering package-related errors. My environment is Flutter... | https://stackoverflow.com/questions/79888108/flutter-ios-build-failing-with-cocoapods-platform-version-errors-while-android | ios, flutter, xcode, dart, cocoapods | 1,770,899,058 |
se_77658217 | stackoverflow | MOBILE_DEVELOPMENT | Modifications to the layout engine must not be performed from a background thread on iOS 17 and above | Modifications to the layout engine must not be performed from a background thread on iOS 17 and above
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Modifications to the layout engine must not be performed from a background thread after it has been accessed from the main thread.... | https://stackoverflow.com/questions/77658217/modifications-to-the-layout-engine-must-not-be-performed-from-a-background-threa | ios, swift, iphone, xcode, autolayout | 1,702,536,151 |
se_79774484 | stackoverflow | MOBILE_DEVELOPMENT | RevenueCat purchase not working on real iOS device (works on Android and IOS Simulator) | RevenueCat purchase not working on real iOS device (works on Android and IOS Simulator)
I’m facing an issue with RevenueCat integration in my app.
On iOS Simulator, using StoreKit configuration, the purchase flow works correctly when I tap the purchase button.
On a real iOS device (via TestFlight), tapping the purch... | https://stackoverflow.com/questions/79774484/revenuecat-purchase-not-working-on-real-ios-device-works-on-android-and-ios-sim | ios, in-app-purchase, app-store-connect, testflight, revenuecat | 1,758,784,476 |
se_77426466 | stackoverflow | MOBILE_DEVELOPMENT | Error with go_router while doing a phone auth with Firebase on iOS | Error with go_router while doing a phone auth with Firebase on iOS
I'm making a Flutter app with go_router as my router. Everything works fine, but when I want to authenticate myself with Firebase, the code is sent, but then I'm redirected to an unknown route "link".
However, I never wrote this route, and it blocks me... | https://stackoverflow.com/questions/77426466/error-with-go-router-while-doing-a-phone-auth-with-firebase-on-ios | ios, flutter, firebase, firebase-authentication, captcha | 1,699,196,857 |
se_79257885 | stackoverflow | MOBILE_DEVELOPMENT | SwiftShield Obfuscation Fails to Exclude Pods Files Properly | SwiftShield Obfuscation Fails to Exclude Pods Files Properly
I am using SwiftShield to obfuscate my project, but despite using exclusion flags (--ignore-names, --ignore-targets), it continues to process certain files from the Pods directory, causing errors. Specifically, files like ResponseSerialization.swift and Conc... | https://stackoverflow.com/questions/79257885/swiftshield-obfuscation-fails-to-exclude-pods-files-properly | ios, swift, security, alamofire, obfuscation | 1,733,485,858 |
se_65927459 | stackoverflow | MOBILE_DEVELOPMENT | Playback controls in swiftui | Playback controls in swiftui
Attempting to use AVKit's AVPlayer to play a video without playback controls:
private let player = AVPlayer(url: URL(fileURLWithPath: Bundle.main.path(forResource: "videoToPlay", ofType: "mp4")!))
player.showsPlaybackControls = false
The above results in an error message that declarations... | https://stackoverflow.com/questions/65927459/playback-controls-in-swiftui | ios, swift, swiftui | 1,611,781,794 |
se_79663905 | stackoverflow | MOBILE_DEVELOPMENT | Unable to tint a custom view in a UIBarButtonItem in iOS 26 | Unable to tint a custom view in a UIBarButtonItem in iOS 26
Under iOS 26, the look of navigation bars and toolbars has changed quite a bit. I am running into an issue trying to tint the added items. For "standard" UIBarButtonItem instances, you simply set the tintColor and it works fine. For example:
let itemText = UI... | https://stackoverflow.com/questions/79663905/unable-to-tint-a-custom-view-in-a-uibarbuttonitem-in-ios-26 | ios, uikit, uibarbuttonitem, ios26 | 1,749,748,599 |
se_79891050 | stackoverflow | MOBILE_DEVELOPMENT | Inexplicable white background below SwiftUI Webview | Inexplicable white background below SwiftUI Webview
I'm working on a pair of Swift projects, and one of them, running on an iPad, refuses to cooperate with this webview. The image below shows the whitespace below the editor. This only appears when the user scrolls down to the bottom of the editor's content. For contex... | https://stackoverflow.com/questions/79891050/inexplicable-white-background-below-swiftui-webview | ios, swift, swiftui, webview, uikit | 1,771,347,411 |
se_79872461 | stackoverflow | MOBILE_DEVELOPMENT | Xcode publishing issues. Watch app not included on xcode26 and server error when publishing from xcode 16 | Xcode publishing issues. Watch app not included on xcode26 and server error when publishing from xcode 16
I am working on an ios app with a companion watchos app. The watchos app was made in 2018, it uses watchkit and has a watchkit app target and a watchkit app extension target.
When I started working on it, the app ... | https://stackoverflow.com/questions/79872461/xcode-publishing-issues-watch-app-not-included-on-xcode26-and-server-error-when | ios, swift, xcode, app-store-connect | 1,768,961,764 |
se_79884425 | stackoverflow | MOBILE_DEVELOPMENT | Badge count is not incrementing in Push Notification using OneSignal in iOS MAUI app | Badge count is not incrementing in Push Notification using OneSignal in iOS MAUI app
I have developed MAUI app using Visual Studio 2022 v 17.14.16 and .NET 9. I have already developed Android app and it is on Google Play Store.
Now I am developing iOS MAUI app so I have enabled iOS as a target Platform. Target .Net ru... | https://stackoverflow.com/questions/79884425/badge-count-is-not-incrementing-in-push-notification-using-onesignal-in-ios-maui | ios, push-notification, maui, onesignal | 1,770,391,169 |
se_79721996 | stackoverflow | MOBILE_DEVELOPMENT | How to use custom framework with third-party framwork in my test ios project? | How to use custom framework with third-party framwork in my test ios project?
I have a test ios project.
And I built my custom framework. The custom framework uses thirt-party framework using cocoapods: for example, Alamofire Library.
My custom framework's build is successfull.
However, if I try to import the custom f... | https://stackoverflow.com/questions/79721996/how-to-use-custom-framework-with-third-party-framwork-in-my-test-ios-project | ios, frameworks, cocoapods, alamofire, xcframework | 1,754,014,599 |
se_79893803 | stackoverflow | MOBILE_DEVELOPMENT | How to sideload a custom Swift app for personal use without a paid Apple Developer Program? | How to sideload a custom Swift app for personal use without a paid Apple Developer Program?
Hi everyone,
I have developed a personal application using Swift and would like to install it on my own iPad. Since I am the only user and have no plans to publish this app to the App Store, I am looking for a way to use the ap... | https://stackoverflow.com/questions/79893803/how-to-sideload-a-custom-swift-app-for-personal-use-without-a-paid-apple-develop | ios, swift, sideloading | 1,771,730,482 |
se_77909436 | stackoverflow | MOBILE_DEVELOPMENT | How do I implement an "open in app" button to a website, for an app that uses iOS universal links? | How do I implement an "open in app" button to a website, for an app that uses iOS universal links?
My React site uses Apple App Site Association to open links to my site in my iOS app if installed. The problem occurs when I create a popup that asks the user to open the link in the app or browser. Reddit has ... | https://stackoverflow.com/questions/77909436/how-do-i-implement-an-open-in-app-button-to-a-website-for-an-app-that-uses-io | javascript, ios, reactjs, iphone, ios-universal-links | 1,706,649,183 |
se_79426580 | stackoverflow | MOBILE_DEVELOPMENT | firebase_ui_auth's showDeleteConfirmationDialog in ProfileScreen is crashing | firebase_ui_auth's showDeleteConfirmationDialog in ProfileScreen is crashing
I wrap the firebase_ui_auth's ProfileScreen with my own ProfileView for the sake of clear code.
The problem is the App stops, do NOTHING when the Delete Account dialog shows.
account delete confirmation dialog
The app got to be hot restar... | https://stackoverflow.com/questions/79426580/firebase-ui-auths-showdeleteconfirmationdialog-in-profilescreen-is-crashing | ios, flutter, firebase-authentication, google-oauth, firebaseui | 1,739,178,968 |
se_30573181 | stackoverflow | MOBILE_DEVELOPMENT | Will Parse working correctly if I set StoreKit's status to optional in Build Phases | Will Parse working correctly if I set StoreKit's status to optional in Build Phases
I would like to use the Appirater library in my project, but after reading its install tutorial one thing is not clear.
Be sure to change Required to Optional for StoreKit in your target's
Build Phases » Link Binary with Libraries... | https://stackoverflow.com/questions/30573181/will-parse-working-correctly-if-i-set-storekits-status-to-optional-in-build-pha | ios, xcode, parse-platform, appirater | 1,433,160,683 |
se_79818015 | stackoverflow | MOBILE_DEVELOPMENT | UITextField custom inputAccessoryView with custom inputView in iOS 26 | UITextField custom inputAccessoryView with custom inputView in iOS 26
I'm trying to use UIPickerView as the textfield's inputView and also add UIToolBar as the textfield's inputAccessoryView.
In iOS 26, it adds some weird transparent background (like a liquid glass effect, I guess) under the toolbar.
I want to preserv... | https://stackoverflow.com/questions/79818015/uitextfield-custom-inputaccessoryview-with-custom-inputview-in-ios-26 | ios, swift, uitextfield, ios26 | 1,762,965,995 |
se_79881082 | stackoverflow | MOBILE_DEVELOPMENT | How should an app gracefully handle passkey deletion? | How should an app gracefully handle passkey deletion?
I’m using passkeys with ASAuthorizationController (ASAuthorizationPlatformPublicKeyCredentialProvider). Registration and authentication work correctly on iOS 16+.
However, if the user explicitly deletes the passkey from the device, the system shows fallback UI like... | https://stackoverflow.com/questions/79881082/how-should-an-app-gracefully-handle-passkey-deletion | ios, swift, authentication, passkey | 1,770,035,564 |
se_79887890 | stackoverflow | MOBILE_DEVELOPMENT | GitLive Firebase Kotlin SDK: iOS crash with orderByKey() + startAt()/endAt() | GitLive Firebase Kotlin SDK: iOS crash with orderByKey() + startAt()/endAt()
I'm using the GitLive Firebase Kotlin SDK (v2.4.0) in a Kotlin Multiplatform project. My code works perfectly on Android, but crashes on iOS when using orderByKey() combined with startAt() and endAt().
Error Message
Terminating app due to un... | https://stackoverflow.com/questions/79887890/gitlive-firebase-kotlin-sdk-ios-crash-with-orderbykey-startat-endat | ios, kotlin, firebase-realtime-database, kotlin-multiplatform | 1,770,875,901 |
se_79892747 | stackoverflow | MOBILE_DEVELOPMENT | Connect multiple drawing tab with Native iOS using Swift UI and bluetooth core functionality | Connect multiple drawing tab with Native iOS using Swift UI and bluetooth core functionality
I am building a native iOS app (Swift, CoreBluetooth) that needs to connect to multiple BLE drawing devices (up to 4 simultaneously) and receive streaming drawing data.
Current State
Scanning works
Multiple peripherals conne... | https://stackoverflow.com/questions/79892747/connect-multiple-drawing-tab-with-native-ios-using-swift-ui-and-bluetooth-core-f | ios, swift, bluetooth-lowenergy, core-bluetooth | 1,771,573,784 |
se_57920523 | stackoverflow | MOBILE_DEVELOPMENT | How to explain the huge difference between Fabric crashes and Xcode crashes? | How to explain the huge difference between Fabric crashes and Xcode crashes?
We have an app live with thousands of daily users. We released a new version in phases, where the current 2% phase is paused.
We use fabric/crashlytics for logging the crashes. The Environment class is reading data from the Keychain, and is ... | https://stackoverflow.com/questions/57920523/how-to-explain-the-huge-difference-between-fabric-crashes-and-xcode-crashes | ios, xcode, crashlytics, google-fabric | 1,568,365,559 |
se_23251014 | stackoverflow | MOBILE_DEVELOPMENT | Presenting walkthrough in iOS app | Presenting walkthrough in iOS app
I am pushing out version 2 of my app and need a short walkthrough of the new features. I went through a tutorial and created my walkthrough in another app, with one UIViewController that is root view, a UIPageViewController which contains one UIView where I display my screens. It work... | https://stackoverflow.com/questions/23251014/presenting-walkthrough-in-ios-app | ios, uistoryboard, uipageviewcontroller | 1,398,273,150 |
se_58445777 | stackoverflow | MOBILE_DEVELOPMENT | How to autofill credit/debit-card details in inputfield in amazon.in in wkwebview in ios app? | How to autofill credit/debit-card details in inputfield in amazon.in in wkwebview in ios app?
I'm developing iOS app in which there is webview(wkwebview), there will be website loaded in wkwebview like amazon.in
I have credit/debit-card details like card-number, exp date, etc. securely stored in my iOS app, i want to ... | https://stackoverflow.com/questions/58445777/how-to-autofill-credit-debit-card-details-in-inputfield-in-amazon-in-in-wkwebvie | javascript, ios, swift, webkit, wkwebview | 1,571,383,092 |
se_79889876 | stackoverflow | MOBILE_DEVELOPMENT | Verbose Swift code, looking for advice on simplifying and improving | Verbose Swift code, looking for advice on simplifying and improving
I'm currently working my way through Paul Hudson's 100 Days of SwiftUI.
On Day 19, there's a challenge to create a unit conversion app.
I've cobbled something together and it works but it almost certainly can be improved and in the name of learning I'... | https://stackoverflow.com/questions/79889876/verbose-swift-code-looking-for-advice-on-simplifying-and-improving | ios, swift, swiftui | 1,771,186,354 |
se_58131299 | stackoverflow | MOBILE_DEVELOPMENT | Xcode Testflight Validate ERROR ITMS-90778 NDEF is disallowed | Xcode Testflight Validate ERROR ITMS-90778 NDEF is disallowed
I am trying to upload my app to TestFlight, which using CoreNFC (NDEF).
Unfortunately, I got the error message on Testflight Validate part in (SDK version 13 and 13.1).
I already tried this: Xcode 11 beta can't upload app to TestFlight
but it will Lose N... | https://stackoverflow.com/questions/58131299/xcode-testflight-validate-error-itms-90778-ndef-is-disallowed | ios, swift, xcode, nfc, ndef | 1,569,575,165 |
se_7772016 | stackoverflow | MOBILE_DEVELOPMENT | When do you need to reset the view.frame Property After a Transformation iOS | When do you need to reset the view.frame Property After a Transformation iOS
I'm making a horizontal table view like the Pulse news reader. I've found several examples online and have it working, but am wondering when we need to set the view.frame property after a transformation.
The examples I've found reset the fra... | https://stackoverflow.com/questions/7772016/when-do-you-need-to-reset-the-view-frame-property-after-a-transformation-ios | ios, iphone, uitableview | 1,318,617,284 |
se_79888287 | stackoverflow | MOBILE_DEVELOPMENT | Titanium.Media.AudioPlayer.seekToTime function does not work for Android | Titanium.Media.AudioPlayer.seekToTime function does not work for Android
I'm implementing audio in a Titanium SDK app using Titanium.Media.AudioPlayer. The AudioPlayer.seekToTime method works as expected on iOS, but on Android attempting to use it throws Uncaught TypeError: player.seekToTime is not a function. The fol... | https://stackoverflow.com/questions/79888287/titanium-media-audioplayer-seektotime-function-does-not-work-for-android | android, ios, titanium-mobile, titanium-alloy | 1,770,916,531 |
se_79842131 | stackoverflow | MOBILE_DEVELOPMENT | SwiftUI: Zoom-navigation-transitions not working in tabViewBottomAccessory with a view model | SwiftUI: Zoom-navigation-transitions not working in tabViewBottomAccessory with a view model
I found that the zoom navigation transition with matchedTransitionSource in tabViewBottomAccessory does not work when the isPresented state is set through a published variable in an ObservableObject. So I get the same transiti... | https://stackoverflow.com/questions/79842131/swiftui-zoom-navigation-transitions-not-working-in-tabviewbottomaccessory-with | ios, swift, swiftui, ios-animations | 1,765,295,453 |
se_76168986 | stackoverflow | MOBILE_DEVELOPMENT | Alternate Icons not included in iPadOS build of app's CFBundleAlternateIcons | Alternate Icons not included in iPadOS build of app's CFBundleAlternateIcons
I'm developing a SwiftUI app and have implemented app icon switching. I walk the list of CFBundleAlternateIcons from the main bundle's CFBundleIcons key at runtime to display the list of options the user can select from.
All is well when ... | https://stackoverflow.com/questions/76168986/alternate-icons-not-included-in-ipados-build-of-apps-cfbundlealternateicons | ios, ipados, cfbundleicons | 1,683,163,715 |
se_79840719 | stackoverflow | MOBILE_DEVELOPMENT | TextField not showing digits & punctuation when system language is Arabic (iOS 26.1) | TextField not showing digits & punctuation when system language is Arabic (iOS 26.1)
I’m seeing a strange behavior in iOS 26.1 with a plain SwiftUI TextField.
When the device system language is set to Arabic, a focused TextField will not display digits or special characters while typing. The caret moves, so the te... | https://stackoverflow.com/questions/79840719/textfield-not-showing-digits-punctuation-when-system-language-is-arabic-ios-2 | ios, swiftui, textfield | 1,765,181,078 |
se_70316155 | stackoverflow | MOBILE_DEVELOPMENT | UICollectionView Top spacing | UICollectionView Top spacing
i have a Problem with my UICollectionView inside my Swift Xcode Project
I checked all insets and margins, I tried the ViewController's: "Adjust Scroll View Insets" and lots of other stuff, but none of them did change this in any way.
i want to reduce / remove that top spacing above the fi... | https://stackoverflow.com/questions/70316155/uicollectionview-top-spacing | ios, swift, xcode, uicollectionview, spacing | 1,639,234,334 |
se_79713790 | stackoverflow | MOBILE_DEVELOPMENT | Why does `xcrun simctl bootstatus <udid> -b` error with "invalid device" message when run in script file in GitHub Actions? | Why does `xcrun simctl bootstatus <udid> -b` error with "invalid device" message when run in script file in GitHub Actions?
I'm creating a composite action in GitHub Actions that launches an iOS simulator. There is a step which runs a shell script that selects a simulator based on certain inputs (devic... | https://stackoverflow.com/questions/79713790/why-does-xcrun-simctl-bootstatus-udid-b-error-with-invalid-device-message | ios, github-actions, ios-simulator, xcrun, simctl | 1,753,379,844 |
se_79890588 | stackoverflow | MOBILE_DEVELOPMENT | iOS Universal Link not working when called from a PDF opened within the associated app | iOS Universal Link not working when called from a PDF opened within the associated app
We have an application which is available both via browser and via iOS and Android apps, using the same path scheme (e.g. www.example.com/#/resource/123 on the website and resource/123 in app).
iOS universal links are correctly conf... | https://stackoverflow.com/questions/79890588/ios-universal-link-not-working-when-called-from-a-pdf-opened-within-the-associat | ios, ios-universal-links | 1,771,304,082 |
se_79858401 | stackoverflow | MOBILE_DEVELOPMENT | Alternate App Icons in Xcode 26 with Icon Composer | Alternate App Icons in Xcode 26 with Icon Composer
Update: This has been fixed in Xcode 26.2.
Has anyone been successful at getting alternate app icons to work in Xcode 26.2 with Icon Composer icons? I've tried every suggestion I've found online (there's not many), various Info.plist configs and build settings, nothi... | https://stackoverflow.com/questions/79858401/alternate-app-icons-in-xcode-26-with-icon-composer | ios, xcode, ios26, icon-composer | 1,767,218,053 |
se_65451169 | stackoverflow | MOBILE_DEVELOPMENT | Test OneSignal Push Notification on iOS Simulator | Test OneSignal Push Notification on iOS Simulator
I've set up react-native-onesignal on my project to implement Push Notification using OneSignal.
It is possible to test Push Notification on iOS simulators since Xcode 11.4 Beta. I created JSON formatted apns file to test Push Notification on Simulator and it worked ve... | https://stackoverflow.com/questions/65451169/test-onesignal-push-notification-on-ios-simulator | ios, react-native, push-notification, onesignal, react-native-onesignal | 1,608,924,900 |
se_79622622 | stackoverflow | MOBILE_DEVELOPMENT | How to include an xcframework in a Flutter plugin that persists after pod install? | How to include an xcframework in a Flutter plugin that persists after pod install?
I'm developing a Flutter library that contains iOS native Swift code. This native code needs to call functions from an xcframework.
Currently, I can add the xcframework by manually dragging and dropping the file into Xcode.
However, th... | https://stackoverflow.com/questions/79622622/how-to-include-an-xcframework-in-a-flutter-plugin-that-persists-after-pod-instal | ios, flutter, xcode, cocoapods | 1,747,283,501 |
se_79825395 | stackoverflow | MOBILE_DEVELOPMENT | SwiftUI @FocusState doesn’t focus a desired TextField | SwiftUI @FocusState doesn’t focus a desired TextField
I have a SwiftUI view with multiple TextFields and a @FocusState bound to my view model. I want the first field to automatically get focus whenever the view appears(when coming back from a SecondView). Here’s a minimal example:
import SwiftUI
import Combine
class M... | https://stackoverflow.com/questions/79825395/swiftui-focusstate-doesn-t-focus-a-desired-textfield | ios, swift, swiftui | 1,763,634,841 |
se_79341628 | stackoverflow | MOBILE_DEVELOPMENT | SwiftUI - StateObject in parent view is unavailable in child view model | SwiftUI - StateObject in parent view is unavailable in child view model
// In my root view aka Parent View
import SwiftUI
struct RootView: View {
@StateObject private var devices = DevicesViewModel()
var body: some View {
ScrollView {
UnitStatusCard(devicesVM: devices)
}
... | https://stackoverflow.com/questions/79341628/swiftui-stateobject-in-parent-view-is-unavailable-in-child-view-model | ios, swift, swiftui, mobile | 1,736,405,610 |
se_75786917 | stackoverflow | MOBILE_DEVELOPMENT | Flutter ios app - Error (Xcode): Undefined symbol: _OBJC_CLASS_$_FIRHeartbeatInfo? | Flutter ios app - Error (Xcode): Undefined symbol: _OBJC_CLASS_$_FIRHeartbeatInfo?
Error (Xcode): Undefined symbol: OBJC_CLASS$_FIRHeartbeatInfo
Xcode Version 14.2 (14C18)
firebase_messaging: ^14.2.5
firebase_core: ^2.8.0
firebase_core_web: ^2.2.1
Flutter app showing this error.
Podfile
target 'Runner' do
pod... | https://stackoverflow.com/questions/75786917/flutter-ios-app-error-xcode-undefined-symbol-objc-class-firheartbeatinf | ios, flutter, dart | 1,679,291,320 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.