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_3753097
stackoverflow
MOBILE_DEVELOPMENT
How to detect touches in status bar
How to detect touches in status bar I have custom view in my application which can be scrolled by the user. This view, however, does not inherit from UIScrollView. Now I want the user to be able to scroll this view to the top, just as any other scrollable view allows. I figured that there is no direct way to do so. G...
https://stackoverflow.com/questions/3753097/how-to-detect-touches-in-status-bar
iphone, ios
1,284,997,478
se_23224035
stackoverflow
MOBILE_DEVELOPMENT
Obtaining a list of cities/time zones as used in Apple's Clock app
Obtaining a list of cities/time zones as used in Apple's Clock app I am currently working on an something that contains the ability for a user to do simple time conversions to various time zones based on City, so a user would select a city name and then select the time they wish to convert to the other time zone s...
https://stackoverflow.com/questions/23224035/obtaining-a-list-of-cities-time-zones-as-used-in-apples-clock-app
ios, objective-c, macos, datetime, timezone
1,398,181,112
se_79941526
stackoverflow
MOBILE_DEVELOPMENT
Hermes ABI mismatch on EAS Build with Expo SDK 54
Hermes ABI mismatch on EAS Build with Expo SDK 54 I'm hitting a persistent iOS linker error on EAS Build with Expo SDK 54 and React Native 0.81.5 that I haven't been able to resolve across dozens of attempts. The same error occurs on both Xcode 16.2 and Xcode 26. Environment: Expo SDK: 54.0.34 React Native: 0.81.5 ...
https://stackoverflow.com/questions/79941526/hermes-abi-mismatch-on-eas-build-with-expo-sdk-54
ios, react-native, expo, hermes, expo-eas
1,778,814,695
se_39245688
stackoverflow
MOBILE_DEVELOPMENT
ios: localize emoji name (kCFStringTransformToUnicodeName)
ios: localize emoji name (kCFStringTransformToUnicodeName) i have an app that will display some emojis and the correspondent name. i'm using kCFStringTransformToUnicodeName to get the name. but i want to localize the name like macOS, as you can see in the attached picture, macOS localize "Grinning Face" to "visage ave...
https://stackoverflow.com/questions/39245688/ios-localize-emoji-name-kcfstringtransformtounicodename
ios, unicode, localization, emoji
1,472,635,524
se_76136444
stackoverflow
MOBILE_DEVELOPMENT
Wrong value sent to second view the first time it is passed from the parent view
Wrong value sent to second view the first time it is passed from the parent view In the following code, I'm trying to pass a bool to SecondView when a button is tapped. I'm changing the state of the bool within a Segmented/PickerView, what is tricking me is the fact that if I run the app, tap on the Turned Off segment...
https://stackoverflow.com/questions/76136444/wrong-value-sent-to-second-view-the-first-time-it-is-passed-from-the-parent-view
ios, swift, swiftui
1,682,774,263
se_79933263
stackoverflow
MOBILE_DEVELOPMENT
In Swift I'm trying to understand the flow of logic when using Sendable, nonisolated, and Actors
In Swift I'm trying to understand the flow of logic when using Sendable, nonisolated, and Actors My understanding is the TripsFeedViewModel runs on the MainActor due to observable so this class is basically isolated to an actor, the MainActor. So in a sense it does prevent data races. Then when we tripService.getT...
https://stackoverflow.com/questions/79933263/in-swift-im-trying-to-understand-the-flow-of-logic-when-using-sendable-nonisol
ios, swift, multithreading, concurrency
1,777,402,254
se_69640784
stackoverflow
MOBILE_DEVELOPMENT
Is there any replacement for Firebase Crashlytics?
Is there any replacement for Firebase Crashlytics? I want a replacement SDK for Firebase Crashlytics that i can deploy it's server on my company's servers.In other language i want to localize this SDK just for my company and all my crash logs and information stay in my company (for security reasons). I found sentry SD...
https://stackoverflow.com/questions/69640784/is-there-any-replacement-for-firebase-crashlytics
android, ios, swift, react-native, crashlytics
1,634,708,024
se_32573232
stackoverflow
MOBILE_DEVELOPMENT
How do I get my UIWebView to automatically fit content like a WKWebView does?
How do I get my UIWebView to automatically fit content like a WKWebView does? I was comparing a UIWebView and a WKWebView to see which would be best to display PDF content. I realized that WKWebView's automatically scale the content to fit the screen with no code needed, like so: [] 1[]2 While no matter what code I...
https://stackoverflow.com/questions/32573232/how-do-i-get-my-uiwebview-to-automatically-fit-content-like-a-wkwebview-does
ios, xcode, swift, uiwebview, wkwebview
1,442,261,978
se_6102333
stackoverflow
MOBILE_DEVELOPMENT
What characters are allowed in a iOS file name?
What characters are allowed in a iOS file name? I'm looking for a way to make sure a string can be used as a file name under iOS. I'm currently in the section of the code that deletes incompatible characters. I'm wondering if I'm doing it right. NSString *filename = @"A file name"; fileName = [fileName stringByTrimmi...
https://stackoverflow.com/questions/6102333/what-characters-are-allowed-in-a-ios-file-name
ios, file, filenames, character-encoding, nsfilemanager
1,306,180,857
se_79940253
stackoverflow
MOBILE_DEVELOPMENT
How to achieve the UI of the search tab in the App Store in Swift?
How to achieve the UI of the search tab in the App Store in Swift? I am trying to make a view whose header section looks just like the one used in the App Store's search tab but I am unable to do so. I can't use .navigationTitle because it scrolls as the user scrolls and also collapses into an inline view. I noticed t...
https://stackoverflow.com/questions/79940253/how-to-achieve-the-ui-of-the-search-tab-in-the-app-store-in-swift
ios, swift, swiftui
1,778,636,529
se_70999350
stackoverflow
MOBILE_DEVELOPMENT
App Build is not appearing on App Store Connect submission Dashboard
App Build is not appearing on App Store Connect submission Dashboard I have a Flutter developed App that I want to upload for App Store Review. The App has been successfully uploaded through Xcode as you can see here— https://prntscr.com/26m7w94 
 Sadly, the Build doesn’t appear in my App Connect Build section as you ...
https://stackoverflow.com/questions/70999350/app-build-is-not-appearing-on-app-store-connect-submission-dashboard
ios, xcode, flutter, app-store
1,644,074,425
se_79936579
stackoverflow
MOBILE_DEVELOPMENT
Does "nonisolated(sending) by Default" setting conflict with "Default actor isolation" setting in Xcode 26?
Does "nonisolated(sending) by Default" setting conflict with "Default actor isolation" setting in Xcode 26? Before Xcode 26, we have 2 global functions: func syncMethod() {} func asyncMethod() async {} The behavior is that syncMethod is non-isolated, and will be called in the same isolation contex...
https://stackoverflow.com/questions/79936579/does-nonisolatedsending-by-default-setting-conflict-with-default-actor-isol
ios, swift, concurrency
1,778,003,049
se_79937630
stackoverflow
MOBILE_DEVELOPMENT
Why doesn't .glassEffect tint render on a Menu in an iOS 26 toolbar?
Why doesn't .glassEffect tint render on a Menu in an iOS 26 toolbar? This is what I am trying to achieve (from the Phone app, similar one is also in Photos) I have a standard SwiftUI Menu in a toolbar with a glass tint applied to indicate the filter is active: Menu { // …filter options } label: { Label("...
https://stackoverflow.com/questions/79937630/why-doesnt-glasseffect-tint-render-on-a-menu-in-an-ios-26-toolbar
ios, swiftui, ios26, liquid-glass, swiftui-toolbar
1,778,163,880
se_35653570
stackoverflow
MOBILE_DEVELOPMENT
Can an NFC reader read the IMEI from a phone?
Can an NFC reader read the IMEI from a phone? Is there a way to read the IMEI of a mobile phone (particularly an Android or iOS device) using an NFC reader? I know you can get the IMEI with some applications but I can't use them. I'm using this reader: ACS ACR1252U
https://stackoverflow.com/questions/35653570/can-an-nfc-reader-read-the-imei-from-a-phone
android, ios, nfc, mobile-phones, imei
1,456,494,908
se_5265292
stackoverflow
MOBILE_DEVELOPMENT
Xcode 4: create IPA file instead of .xcarchive
Xcode 4: create IPA file instead of .xcarchive In Xcode 3.2.5 I use "Build And Archive" to create an IPA file. In Xcode 4 you can use "Product -> Archive" to archive an application in an .xcarchive bundle. How can I create an .ipa file with Xcode 4?
https://stackoverflow.com/questions/5265292/xcode-4-create-ipa-file-instead-of-xcarchive
ios, xcode, xcode4
1,299,787,658
se_79145920
stackoverflow
MOBILE_DEVELOPMENT
flutter using base state management with bloc
flutter using base state management with bloc I'm implementing the BLoC architecture in my app, but I've encountered a situation where I have small widgets that need to refresh to show changes. I feel creating a separate BLoC class or Cubit for these minor updates would just add unnecessary boilerplate code. For examp...
https://stackoverflow.com/questions/79145920/flutter-using-base-state-management-with-bloc
android, ios, flutter, dart
1,730,399,184
se_21003294
stackoverflow
MOBILE_DEVELOPMENT
JSON: Providing Constant Values
JSON: Providing Constant Values Though I'm using iOS, I don't think that's relevant here. I need to be able to use a constant in two of the values for JSON. Reason: We're using different servers for Development and Production, and can't have the development data mixed with production Data. At build time we'll pro...
https://stackoverflow.com/questions/21003294/json-providing-constant-values
ios, objective-c, json
1,389,204,480
se_52524827
stackoverflow
MOBILE_DEVELOPMENT
withSecurityScope not available in NSURL.BookmarkCreationOptions
withSecurityScope not available in NSURL.BookmarkCreationOptions im am trying to save a url as a bookmark to persist access to files on an iphone. To do this i am calling the bookmarkData function. But to prevent errors i have encounterd such as: Error Domain=NSCocoaErrorDomain Code=260 "The file couldn’t be opened b...
https://stackoverflow.com/questions/52524827/withsecurityscope-not-available-in-nsurl-bookmarkcreationoptions
ios, swift, xcode
1,537,990,002
se_28576238
stackoverflow
MOBILE_DEVELOPMENT
How to open Xcode from terminal?
How to open Xcode from terminal? I noticed my current bash file has export PATH=$PATH:/Applications/MAMP/library/bin which i put there to set up terminal access to mamp. I've been trying to compile -a MyApp a.xcodeproj & open a.xcodeproj but I'm not sure which one to use and neither works. I also added this to the ba...
https://stackoverflow.com/questions/28576238/how-to-open-xcode-from-terminal
ios, objective-c, xcode
1,424,235,268
se_71743833
stackoverflow
MOBILE_DEVELOPMENT
How can I implement a box shadow element in swift?
How can I implement a box shadow element in swift? Please see the box attached. I want to implement that box in swift. How can I do it? Here's the CSS: background: #FFFFFF; border: 1px solid #DAD9D9; box-shadow: inset 2px 2px 0px rgba(0, 0, 0, 0.25); border-radius: 30px 30px 0px 0px; Here's what I tried: self.answer...
https://stackoverflow.com/questions/71743833/how-can-i-implement-a-box-shadow-element-in-swift
ios, swift, xcode
1,649,107,171
se_79883213
stackoverflow
MOBILE_DEVELOPMENT
Non-deprecated way of using normal sized adaptive banner with AdMob SDK V13
Non-deprecated way of using normal sized adaptive banner with AdMob SDK V13 AdMob SDK V13 is released, and currentOrientationAnchoredAdaptiveBanner is replaced by largeAnchoredAdaptiveBanner. See: https://developers.google.com/admob/ios/migration However, when I tried it out, the new API results in much taller banner,...
https://stackoverflow.com/questions/79883213/non-deprecated-way-of-using-normal-sized-adaptive-banner-with-admob-sdk-v13
ios, admob
1,770,264,107
se_59971822
stackoverflow
MOBILE_DEVELOPMENT
SwiftUI @State to change an Image being displayed
SwiftUI @State to change an Image being displayed I have a Dictionary created from reading in JSON data and I am using those Variable names to populate other Views. SO I have var charFullDetail: charDetail This returns a number of variables, but the two I am interested in are: charFullDetail.cardFrontImage charFullD...
https://stackoverflow.com/questions/59971822/swiftui-state-to-change-an-image-being-displayed
ios, swiftui
1,580,316,260
se_79938043
stackoverflow
MOBILE_DEVELOPMENT
Need screentime data (swift) to be sent to firebase then accountability partner device
Need screentime data (swift) to be sent to firebase then accountability partner device So i'm building a screentime app whereby users can add an accountability partner who will be able to see their total screentime.(no app breakdowns included) . This will require me to send the data to firebase realtime database and r...
https://stackoverflow.com/questions/79938043/need-screentime-data-swift-to-be-sent-to-firebase-then-accountability-partner
ios, swift, screen-time
1,778,234,723
se_38321424
stackoverflow
MOBILE_DEVELOPMENT
How to add a mp3 file in iOS simulator?
How to add a mp3 file in iOS simulator? I can add images, videos in iOS simulator by dragging them into the window and those are saved in simulator photos app. But when a mp3 file is dragged on it can be played in Safari but there is no option of saving it. Is there any way to save a mp3 file so that later I can pick...
https://stackoverflow.com/questions/38321424/how-to-add-a-mp3-file-in-ios-simulator
ios, save, ios-simulator, mp3
1,468,304,791
se_79938625
stackoverflow
MOBILE_DEVELOPMENT
Firebase Storage bucket Persistence
Firebase Storage bucket Persistence My app stores image files in a storage bucket while the the link to those images are stored in a firebase record. Is there a third party add-in for iOS and Android that will cache and queue these files for automatic upload and provide the actual storage bucket link once network conn...
https://stackoverflow.com/questions/79938625/firebase-storage-bucket-persistence
android, ios, firebase, google-cloud-storage, persistence
1,778,338,549
se_69986103
stackoverflow
MOBILE_DEVELOPMENT
Video save error in iPhone Gallery for H265 codec
Video save error in iPhone Gallery for H265 codec In an app I am creating a video from my live stream and convert it to MP4/MOV format and save it to the documents directory. The command line to create an MP4 file from video frames: -loglevel trace -r 20 -i inputfile -c:v copy -f mp4 -y -r 20 outputfile The app is cr...
https://stackoverflow.com/questions/69986103/video-save-error-in-iphone-gallery-for-h265-codec
ios, objective-c, xamarin, ffmpeg, phphotolibrary
1,637,052,398
se_61023739
stackoverflow
MOBILE_DEVELOPMENT
Decoding adjustmentData in .AAE files of pictures taken by the iPhone
Decoding adjustmentData in .AAE files of pictures taken by the iPhone I understand .AAE files are supposed to describe the changes that were applied to a certain picture. However I see that most times (apparently not always) there is such a file even when they seem to carry the same data (which seems to indicate that ...
https://stackoverflow.com/questions/61023739/decoding-adjustmentdata-in-aae-files-of-pictures-taken-by-the-iphone
ios, iphone
1,585,974,274
se_30743182
stackoverflow
MOBILE_DEVELOPMENT
Enabling Code Folding Bar in Xcode
Enabling Code Folding Bar in Xcode How to enable the code folding bar next to the line numbers? I googled "code folding Mac"; it's all about triggering code folding and unfolding, but nothing about enabling the bar. I have tried using Editor -> Code Folding -> Fold/Unfold to fold and unfold codes, but I don't have ...
https://stackoverflow.com/questions/30743182/enabling-code-folding-bar-in-xcode
ios, xcode, code-folding
1,433,885,471
se_71034803
stackoverflow
MOBILE_DEVELOPMENT
How to connect Google Fit on iOS React Native
How to connect Google Fit on iOS React Native Currently I only see the Google Fit support library on Android. Is there any library that supports connect Google Fit on React Native iOS?
https://stackoverflow.com/questions/71034803/how-to-connect-google-fit-on-ios-react-native
ios, react-native, google-fit
1,644,327,248
se_28689383
stackoverflow
MOBILE_DEVELOPMENT
Image Slideshow Swift ios
Image Slideshow Swift ios I'm new to ios development. I am trying to make a simple fullscreen image slide show. On swipe left, the slideshow should show the next image, and swipe right the slideshow should show the previous image. I have it working, however, if I swipe in quick succession, I get a blank screen, almos...
https://stackoverflow.com/questions/28689383/image-slideshow-swift-ios
ios, xcode, swift
1,424,758,959
se_79937975
stackoverflow
MOBILE_DEVELOPMENT
React Native 0.82.1 fails to build on Xcode 26 with Yoga/fmt/glog C++ constexpr errors
React Native 0.82.1 fails to build on Xcode 26 with Yoga/fmt/glog C++ constexpr errors I’m trying to build a React Native iOS app after upgrading to Xcode 26, but the build fails during native compilation. Environment React Native: 0.82.1 React: 19.1.1 Node: 20.19.6 CocoaPods: latest Xcode: 26 macOS Tahoe Erro...
https://stackoverflow.com/questions/79937975/react-native-0-82-1-fails-to-build-on-xcode-26-with-yoga-fmt-glog-c-constexpr
ios, xcode, react-native, cocoapods, hermes
1,778,227,918
se_79938099
stackoverflow
MOBILE_DEVELOPMENT
Can't build / test WebDriverAgentRunner on my IOS
Can't build / test WebDriverAgentRunner on my IOS I'm trying to run WDA on my iPhone but I'm getting Cannot test target “WebDriverAgentRunner” on “iPhone”: Logic Testing Unavailable Logic Testing on iOS devices is not supported. You can run logic tests on the Simulator. The signign seems fine, i have a personal ac...
https://stackoverflow.com/questions/79938099/cant-build-test-webdriveragentrunner-on-my-ios
ios, xcode, automation, appium-ios, ios-ui-automation
1,778,241,525
se_79937808
stackoverflow
MOBILE_DEVELOPMENT
How to retrieve the real physical screen DPI/PPI on iOS to draw a rectangle with an exact physical size?
How to retrieve the real physical screen DPI/PPI on iOS to draw a rectangle with an exact physical size? I'm developing a Delphi FMX application for iOS and I need to draw UI elements with a real physical size, for example a rectangle measuring exactly 3 cm × 3 cm on screen. On Android this is relatively straightforwa...
https://stackoverflow.com/questions/79937808/how-to-retrieve-the-real-physical-screen-dpi-ppi-on-ios-to-draw-a-rectangle-with
ios, iphone, flutter, xcode, react-native
1,778,192,301
se_46373416
stackoverflow
MOBILE_DEVELOPMENT
dyld: Library not loaded: @rpath/libswiftCore.dylib on Xcode 9 only
dyld: Library not loaded: @rpath/libswiftCore.dylib on Xcode 9 only I recently upgraded to Xcode 9 from 8.3.3. Our project is written in Objective-C as are all the other frameworks we use. I have added a framework which is written in Swift (version 3.0). In Xcode 8, I am able to build and run the project without prob...
https://stackoverflow.com/questions/46373416/dyld-library-not-loaded-rpath-libswiftcore-dylib-on-xcode-9-only
ios, objective-c, swift3, xcode9
1,506,115,559
se_21033850
stackoverflow
MOBILE_DEVELOPMENT
The <input required> attribute doesn't work on iOS devices
The <input required> attribute doesn't work on iOS devices I am having a problem trying to get my HTML form to work on iOS devices. The "required" attribute put under the input element works fine on any desktop web browser, but not on the mobile iOS Safari. The problem is, I can hit "submit" on my form th...
https://stackoverflow.com/questions/21033850/the-input-required-attribute-doesnt-work-on-ios-devices
html, ios
1,389,312,574
se_77676395
stackoverflow
MOBILE_DEVELOPMENT
SwiftUI iOS - change toggle size
SwiftUI iOS - change toggle size Toggle(isOn: self.$autoplay) { Button(action: { autoplay.toggle() }) { HStack(spacing: 26) { Image(systemName: "play.circle") .resizable() .scaledToFit() ....
https://stackoverflow.com/questions/77676395/swiftui-ios-change-toggle-size
ios, swiftui
1,702,857,065
se_79853704
stackoverflow
MOBILE_DEVELOPMENT
Firebase Analytics first_open event has update_with_analytics = 1 after iOS device reset — why?
Firebase Analytics first_open event has update_with_analytics = 1 after iOS device reset — why? I’m using Google Firebase Analytics on my React Native iOS app and I’m seeing an unexpected behavior with the first_open event and the update_with_analytics parameter. According to the Firebase documentation, the parameter ...
https://stackoverflow.com/questions/79853704/firebase-analytics-first-open-event-has-update-with-analytics-1-after-ios-devi
ios, firebase, google-analytics, firebase-analytics, react-native-firebase
1,766,497,258
se_79937541
stackoverflow
MOBILE_DEVELOPMENT
iOS Safari / iPhone disapearing 'Done' from input's Accessory Bar / Done bar
iOS Safari / iPhone disapearing 'Done' from input's Accessory Bar / Done bar We have a very strange easy to reproduce bug on iOS Safari Browser (phone). Basically the problem is that the Accessory Bar/ 'Done' bar on top the keyboard is disapearing when you switch between the landscape and portrait mode. T...
https://stackoverflow.com/questions/79937541/ios-safari-iphone-disapearing-done-from-inputs-accessory-bar-done-bar
ios, iphone, mobile-safari
1,778,154,076
se_52819268
stackoverflow
MOBILE_DEVELOPMENT
Set view's rounded corners and shadow
Set view's rounded corners and shadow I need to round the bottom left and right corners of a view and base on what I found on the internet I created this function inside an UIview extension: func setRoundedCorner(withRadius radius: CGSize, forCorners corners: UIRectCorner ) { let viewShape = CAShapeLayer() ...
https://stackoverflow.com/questions/52819268/set-views-rounded-corners-and-shadow
ios, swift, shadow, rounded-corners
1,539,614,584
se_53842051
stackoverflow
MOBILE_DEVELOPMENT
Ansible Multiline prompt string ios_command module
Ansible Multiline prompt string ios_command module I'm trying to reload a device with ansible ios_command. The manual reload output is : router#reload Reload command is being issued on Active unit, this will reload the whole stack Proceed with reload? [confirm] My reload playbook section looks like : commands: ...
https://stackoverflow.com/questions/53842051/ansible-multiline-prompt-string-ios-command-module
ios, ansible
1,545,172,176
se_79937351
stackoverflow
MOBILE_DEVELOPMENT
React Native WebRTC on iOS physical device: inbound RTP audio packets received but no audible output (Android and iOS simulator work)
React Native WebRTC on iOS physical device: inbound RTP audio packets received but no audible output (Android and iOS simulator work) I have a React Native WebRTC receiver flow where remote audio/video tracks are recvonly. Problem: I recently upgraded from expo sdk 53 to 55 and now my webrtc audio is not audible only ...
https://stackoverflow.com/questions/79937351/react-native-webrtc-on-ios-physical-device-inbound-rtp-audio-packets-received-b
ios, react-native, webrtc, audio-streaming
1,778,129,293
se_37949518
stackoverflow
MOBILE_DEVELOPMENT
Get keychain item with LAContext and touchIDAuthenticationAllowableReuseDuration
Get keychain item with LAContext and touchIDAuthenticationAllowableReuseDuration I'm trying to add the functionality of touchIDAuthenticationAllowableReuseDuration to my app. I use Touch ID to authenticate a user into the app and at the same time recover an item from the keychain. Before I tried to add this there was ...
https://stackoverflow.com/questions/37949518/get-keychain-item-with-lacontext-and-touchidauthenticationallowablereuseduration
ios, objective-c, swift, security, touch-id
1,466,525,513
se_79936983
stackoverflow
MOBILE_DEVELOPMENT
Login text fields appear to clear on iPad Air M3 (iPadOS 26) — cannot reproduce on iPhone or simulator
Login text fields appear to clear on iPad Air M3 (iPadOS 26) — cannot reproduce on iPhone or simulator Our Flutter app has been rejected by App Review 4 times. The reviewer reports that typing into the email/password fields on an iPad Air 11-inch (M3) running iPadOS 26.4.2 causes the fields to clear, preventing login....
https://stackoverflow.com/questions/79936983/login-text-fields-appear-to-clear-on-ipad-air-m3-ipados-26-cannot-reproduce
ios, iphone, flutter, ipad, ios-simulator
1,778,068,774
se_44906479
stackoverflow
MOBILE_DEVELOPMENT
How can i display animated svg file in iOS without using UIWebView
How can i display animated svg file in iOS without using UIWebView Currently i am using UIWebView to display animated svg file in my native iOS application. This works fine except the CPU usage is constantly being on higher side as long as app is in foreground. Is there any better way to display svg file without u...
https://stackoverflow.com/questions/44906479/how-can-i-display-animated-svg-file-in-ios-without-using-uiwebview
ios, iphone, swift, svg-animate
1,499,172,564
se_54135078
stackoverflow
MOBILE_DEVELOPMENT
How to solve "error running pod install" in flutter on mac?
How to solve "error running pod install" in flutter on mac? I have an error when I tried to launch my project on my iPhone, the basic Flutter example is working on my iPhone but when I use my project I have this error.
https://stackoverflow.com/questions/54135078/how-to-solve-error-running-pod-install-in-flutter-on-mac
ios, macos, flutter, dart, pod-install
1,547,145,954
se_27119325
stackoverflow
MOBILE_DEVELOPMENT
AutoLayout - Keep Ratio of Image With Horizontal Constraints
AutoLayout - Keep Ratio of Image With Horizontal Constraints I've been trying to implement a timeline of picture (as instagram or facebook). However, I've been struggling with the ratio of the image. Here's my xib that contains my Cell : I want the picture to keep its ratio and to completely fill the width of the cel...
https://stackoverflow.com/questions/27119325/autolayout-keep-ratio-of-image-with-horizontal-constraints
ios, autolayout, uiimageview
1,416,892,925
se_30998556
stackoverflow
MOBILE_DEVELOPMENT
AirWatch Authentication Failure
AirWatch Authentication Failure I am working on an iOS App which will be distributed within an enterprise using AirWatch as an MDM Tool. I have integrated AirWatch iOS SDK in my app, but, I am getting a failure on authentication on both Device and Simulator. I use the same credentials which I used to enroll the devic...
https://stackoverflow.com/questions/30998556/airwatch-authentication-failure
ios, authentication, mdm, enterprise-distribution, airwatch
1,435,050,667
se_79936329
stackoverflow
MOBILE_DEVELOPMENT
Dynamic UIColor from asset catalog doesn't update CALayer.borderColor when switching between light and dark mode — modern workaround?
Dynamic UIColor from asset catalog doesn't update CALayer.borderColor when switching between light and dark mode — modern workaround? I'm implementing dark mode in a UIKit app and ran into the well-known issue that CALayer.borderColor (and shadowColor, CAShapeLayer.strokeColor, etc.) doesn't update automatically w...
https://stackoverflow.com/questions/79936329/dynamic-uicolor-from-asset-catalog-doesnt-update-calayer-bordercolor-when-switc
ios, swift, iphone, uikit, mobile-development
1,777,973,395
se_37341838
stackoverflow
MOBILE_DEVELOPMENT
Prevent multiple Tap on the same UIButton
Prevent multiple Tap on the same UIButton Some times in my app I get this error because the UI freezes and the users tap more than once the buttons: "pushing the same view controller instance more than once is not supported" I have tried this: How to prevent multiple event on same UIButton in iOS? And it wor...
https://stackoverflow.com/questions/37341838/prevent-multiple-tap-on-the-same-uibutton
ios, objective-c, uibutton
1,463,733,272
se_78995007
stackoverflow
MOBILE_DEVELOPMENT
Xcode 16.0: "Unexpected service error: The Xcode build system has crashed" while building iOS project
Xcode 16.0: "Unexpected service error: The Xcode build system has crashed" while building iOS project I am encountering a build failure in Xcode 16.0 where the build system crashes with an unexpected service error. Environment Xcode: 16.0 react native version: 0.73.8 macOS: 15 Error During the build proces...
https://stackoverflow.com/questions/78995007/xcode-16-0-unexpected-service-error-the-xcode-build-system-has-crashed-while
ios, xcode, react-native, build-error, xcode16
1,726,590,804
se_59280668
stackoverflow
MOBILE_DEVELOPMENT
React Native - sometimes app freezes when opened from background
React Native - sometimes app freezes when opened from background Recently I noticed some strange bug in my IOS app (on Android I did not see that problem so far). When the release mode is installed on my real device (the same problem happens even with production app from App Store), and when the app is opened from a...
https://stackoverflow.com/questions/59280668/react-native-sometimes-app-freezes-when-opened-from-background
javascript, ios, react-native, background, freeze
1,576,049,007
se_47355774
stackoverflow
MOBILE_DEVELOPMENT
App Transport Security - Error Domain=NSURLErrorDomain Code=-1200
App Transport Security - Error Domain=NSURLErrorDomain Code=-1200 I have come across this 1200 error whilst building a POC and I'm really stuck as to what the actual problem is. Before you read this, I'm not looking for work arounds as I have already implemented a work around, I want to properly fix this issue. In my...
https://stackoverflow.com/questions/47355774/app-transport-security-error-domain-nsurlerrordomain-code-1200
ios, app-transport-security
1,510,938,123
se_59476491
stackoverflow
MOBILE_DEVELOPMENT
How to fix error with xcodebuild in GitHub Actions
How to fix error with xcodebuild in GitHub Actions I'm trying to setup a CI with my private Swift project in Github using GitHub Actions. I've used the standard swift.yml template provided by Github with some modifications. Here is the file ci.yml name: Swift on: [push] jobs: build: runs-on: macOS-latest ...
https://stackoverflow.com/questions/59476491/how-to-fix-error-with-xcodebuild-in-github-actions
ios, swift, continuous-integration, xcodebuild, github-actions
1,577,262,014
se_79936540
stackoverflow
MOBILE_DEVELOPMENT
DispatchQueue's closure is @Sendable, how can it access main actor isolated values?
DispatchQueue's closure is @Sendable, how can it access main actor isolated values? Let's first try this code: func viewDidLoad() { DispatchQueue.global().async { self.view.backgroundColor = red } } This obviously fails in Swift 6, because the closure is @Sendable , meaning that it can be called on backgr...
https://stackoverflow.com/questions/79936540/dispatchqueues-closure-is-sendable-how-can-it-access-main-actor-isolated-valu
ios, swift, concurrency
1,777,997,884
se_77921496
stackoverflow
MOBILE_DEVELOPMENT
Cursor does not appear on initial click in UITextField
Cursor does not appear on initial click in UITextField I have a custom cell with 3 UITextFields. They are all set up the same way just with different names. 2/3 work perfectly, the cursor shows on initial click and the keyboard pops up. The tricky one (weightTextField) does not work as expected. The cursor does not sh...
https://stackoverflow.com/questions/77921496/cursor-does-not-appear-on-initial-click-in-uitextfield
ios, swift, uitextfield, caret
1,706,801,871
se_79936585
stackoverflow
MOBILE_DEVELOPMENT
Conflict between "Approachable concurrency" vs "nonisolated(nonsending) by Default" vs "Default actor isolation" settings in Xcode
Conflict between "Approachable concurrency" vs "nonisolated(nonsending) by Default" vs "Default actor isolation" settings in Xcode Based on this article, "approachable concurrency" means using main actor by default, and use nonisolated(nonsending) by default. However, in Xcode, there are ...
https://stackoverflow.com/questions/79936585/conflict-between-approachable-concurrency-vs-nonisolatednonsending-by-defau
ios, swift, concurrency
1,778,003,816
se_77181656
stackoverflow
MOBILE_DEVELOPMENT
Swift charts: how to draw a line chart with a fixed gradient independent of data?
Swift charts: how to draw a line chart with a fixed gradient independent of data? Closely related to this question, the linear gradient code works well, but it is always tied to its data, so for example in this code shown below, if you have an array of heart rates from 70 to 110 the lower heart rates are always gray a...
https://stackoverflow.com/questions/77181656/swift-charts-how-to-draw-a-line-chart-with-a-fixed-gradient-independent-of-data
ios, swift, swiftui, swiftui-charts
1,695,744,113
se_79925638
stackoverflow
MOBILE_DEVELOPMENT
firebase_messaging onMessage stream never fires after UIScene migration on iOS
firebase_messaging onMessage stream never fires after UIScene migration on iOS After migrating a Flutter iOS app to use UISceneDelegation (via FlutterSceneDelegate in Info.plist), FirebaseMessaging.onMessage in Dart never fires for foreground messages. Background banners appear correctly via APNs, but the Dart layer r...
https://stackoverflow.com/questions/79925638/firebase-messaging-onmessage-stream-never-fires-after-uiscene-migration-on-ios
ios, flutter, firebase-cloud-messaging, uiscenedelegate
1,776,200,376
se_42507723
stackoverflow
MOBILE_DEVELOPMENT
OpenCV get coordinates / radius in pixel
OpenCV get coordinates / radius in pixel I have the code that applies some transformations for image for detecting circles (GaussianBlur->cvtColor(gray)->canny->HoughCircles) and as for result i got vector<Vec3f> circles; array. If I draw the result with OpenCV: cv::Point center(cvRound(circles[i][0]), cvRound(c...
https://stackoverflow.com/questions/42507723/opencv-get-coordinates-radius-in-pixel
ios, opencv, image-processing
1,488,281,725
se_8251971
stackoverflow
MOBILE_DEVELOPMENT
How can I add a next and previous button at the segmented Controller on a navigation bar in iphone application development?
How can I add a next and previous button at the segmented Controller on a navigation bar in iphone application development? How can I set next and previous button/arrow at my segmented bar. Please see this link for more details: How can i add a next and previous button at the segmented Controller? I have attached an i...
https://stackoverflow.com/questions/8251971/how-can-i-add-a-next-and-previous-button-at-the-segmented-controller-on-a-naviga
iphone, ios, uinavigationbar, uisegmentedcontrol
1,322,105,994
se_79933243
stackoverflow
MOBILE_DEVELOPMENT
How to access an external USB UVC camera on iPadOS or iOS using Flutter (AVFoundation approach)?
How to access an external USB UVC camera on iPadOS or iOS using Flutter (AVFoundation approach)? I'm building a Flutter app that connects a custom USB UVC camera (via USB-C / USB OTG) to a mobile device to capture and analyze images. On Android, I've successfully implemented this using: uvccamera: ^0.0.13 — wraps the...
https://stackoverflow.com/questions/79933243/how-to-access-an-external-usb-uvc-camera-on-ipados-or-ios-using-flutter-avfound
ios, flutter, ipad, avfoundation, uvc
1,777,398,986
se_79935848
stackoverflow
MOBILE_DEVELOPMENT
FamilyActivitySelection token stability — are stored tokens long-term reliable?
FamilyActivitySelection token stability — are stored tokens long-term reliable? We are storing FamilyActivitySelection tokens encoded via JSONEncoder to a backend for long-term use, and relying on them inside a DeviceActivityMonitorExtension to restore and apply shields when a schedule fires. We came across reports on...
https://stackoverflow.com/questions/79935848/familyactivityselection-token-stability-are-stored-tokens-long-term-reliable
ios, swift, ios-extensions, screen-time
1,777,897,715
se_8606889
stackoverflow
MOBILE_DEVELOPMENT
jQuery mobile - iOS - How to detect when the keyboard is opening?
jQuery mobile - iOS - How to detect when the keyboard is opening? I'm working on a jQuery mobile site and need to update my layout when the iOS keyboard is showing up or hiding. Is there some event I can bind to? Doesn't necessarily have to be a JQM event, any other would also suffice. Thanks for help!
https://stackoverflow.com/questions/8606889/jquery-mobile-ios-how-to-detect-when-the-keyboard-is-opening
jquery, ios, events, jquery-mobile, keyboard
1,324,571,507
se_79927902
stackoverflow
MOBILE_DEVELOPMENT
How to deploy an ios App on connect that is used by a private organization not public
How to deploy an ios App on connect that is used by a private organization not public Im working on an app for australian government under a private company. The app will be used by a specific department of the australian government and it'll be available on ios. The confusion i have is this the app is private-use onl...
https://stackoverflow.com/questions/79927902/how-to-deploy-an-ios-app-on-connect-that-is-used-by-a-private-organization-not-p
ios, iphone, flutter, app-store-connect, testflight
1,776,516,844
se_79269396
stackoverflow
MOBILE_DEVELOPMENT
Xcode fails to connect to iPhone
Xcode fails to connect to iPhone After the recent Xcode update, my Mac is no longer able to connect to my iPhone. I’ve tried everything I can think of: buying a new cable, updating both my Mac and iPhone, restarting both devices, and even creating a new Xcode project. However, I keep encountering the same errors: Firs...
https://stackoverflow.com/questions/79269396/xcode-fails-to-connect-to-iphone
ios, iphone, xcode
1,733,856,071
se_79932386
stackoverflow
MOBILE_DEVELOPMENT
Reality Kit Object Sound Position changes with landscape mode
Reality Kit Object Sound Position changes with landscape mode My object makes the sound is on the right of screen regardless of iOS device landscape mode. Sound comes from object location while device at landscape mode which usb input is at right. But when the device is rotated other way around view also rotates as we...
https://stackoverflow.com/questions/79932386/reality-kit-object-sound-position-changes-with-landscape-mode
ios, swift, realitykit, arview
1,777,275,696
se_79935224
stackoverflow
MOBILE_DEVELOPMENT
Firebase Sign in with Apple returns invalid-credential despite valid Apple token (Flutter iOS)
Firebase Sign in with Apple returns invalid-credential despite valid Apple token (Flutter iOS) I'm implementing Sign in with Apple on iOS using Flutter + Firebase Auth. Apple returns a valid token but Firebase rejects it with: firebase_auth/invalid-credential — Invalid OAuth response from apple.com Environment: fire...
https://stackoverflow.com/questions/79935224/firebase-sign-in-with-apple-returns-invalid-credential-despite-valid-apple-token
ios, flutter, firebase, firebase-authentication, sign-in-with-apple
1,777,766,779
se_67076468
stackoverflow
MOBILE_DEVELOPMENT
Why scrollbar is behind sticky elements in iOS Safari?
Why scrollbar is behind sticky elements in iOS Safari? When using position: sticky; in a container with overflow-y: auto;, the container's scrollbar is rendered behind the sticky elements. In the following screenshot, the vertical scrollbar is behind elements 1, 2, 3, and 4. But it works well when I remove the heigh...
https://stackoverflow.com/questions/67076468/why-scrollbar-is-behind-sticky-elements-in-ios-safari
html, css, ios, css-position, sticky
1,618,322,804
se_79927361
stackoverflow
MOBILE_DEVELOPMENT
Why is this phone number not recognised in iOS Safari?
Why is this phone number not recognised in iOS Safari? Q: - Why is this phone number not recognised in iOS Safari, Swift, or other Apple platforms? Intro I happen to be the administrator of a small amateur draughts club. Every week, I put the results of the games played online. The results will be published using a to...
https://stackoverflow.com/questions/79927361/why-is-this-phone-number-not-recognised-in-ios-safari
html, ios, swift, safari, tel
1,776,426,995
se_16949521
stackoverflow
MOBILE_DEVELOPMENT
where can I find &#39;Application ID&#39; in Xcode?
where can I find &#39;Application ID&#39; in Xcode? I am configuring metaio SDK. Within the installation instructions it says: 'Log-in in the portal and add you **Application ID** and name to generate the new signature, then copy and paste your string instead of old one #define SDK_LICENSE "RfIXXL7+zVARfh98zMNuiQL1...
https://stackoverflow.com/questions/16949521/where-can-i-find-application-id-in-xcode
ios, xcode, metaio
1,370,465,064
se_33619595
stackoverflow
MOBILE_DEVELOPMENT
Touch events are delayed near left screen edge on iOS 9 only. How to fix it?
Touch events are delayed near left screen edge on iOS 9 only. How to fix it? I am developing a keybaord extension for iOS. On iOS 9 the keys react imediatelly except for keys along left edge of the keyboard. Those react with around 0.2 second delay. The reason is that the touches are simply delivered with this delay t...
https://stackoverflow.com/questions/33619595/touch-events-are-delayed-near-left-screen-edge-on-ios-9-only-how-to-fix-it
ios, ios9, uigesturerecognizer, uiresponder, 3dtouch
1,447,108,442
se_33366924
stackoverflow
MOBILE_DEVELOPMENT
How to use libarchive in iOS in Xcode?
How to use libarchive in iOS in Xcode? I want to add libarchive to my app to be able to extract tar.gz. As install instruction says, I took following steps: cmake -G "Xcode" ~/libarchive-download-dir/ make make install Now I have a libarchive.14.dzlib file. I added it to the project, and wants to call i.e. the fo...
https://stackoverflow.com/questions/33366924/how-to-use-libarchive-in-ios-in-xcode
ios, xcode, libarchive
1,445,945,694
se_79934557
stackoverflow
MOBILE_DEVELOPMENT
DatabaseException &quot;out of memory&quot; when opening SQLCipher 3 encrypted DB on versions &gt; 2.2.1
DatabaseException &quot;out of memory&quot; when opening SQLCipher 3 encrypted DB on versions &gt; 2.2.1 I’m encountering a crash when opening an encrypted database using sqflite_sqlcipher on versions above 2.2.1. The same code works fine on 2.2.1, but fails consistently on newer versions. Code Snippet: Future<Databas...
https://stackoverflow.com/questions/79934557/databaseexception-out-of-memory-when-opening-sqlcipher-3-encrypted-db-on-versi
ios, flutter, sqlite, sqlcipher
1,777,623,533
se_79934489
stackoverflow
MOBILE_DEVELOPMENT
SwiftUI PhaseAnimator causing AttributeGraph cycle crash when nested in List with @Observable
SwiftUI PhaseAnimator causing AttributeGraph cycle crash when nested in List with @Observable I’m hitting a very specific runtime crash in iOS 19.2 (Xcode 17.1) that I haven't seen documented anywhere. I have a List where each row uses the new @Observable macro for its view model. Inside the row, I’m using phaseAnimat...
https://stackoverflow.com/questions/79934489/swiftui-phaseanimator-causing-attributegraph-cycle-crash-when-nested-in-list-wit
ios, swift
1,777,609,107
se_72560553
stackoverflow
MOBILE_DEVELOPMENT
Scroll to specific section and item in SwiftUI list
Scroll to specific section and item in SwiftUI list I have a List with 12 sections that represent the months of a year and each seach has the number of days of a month as an item. The problem is ScrollViewReader only scrolls the items of the first section. for example, January contains 31 days and it works when I call...
https://stackoverflow.com/questions/72560553/scroll-to-specific-section-and-item-in-swiftui-list
ios, swift, list, swiftui, scrollview
1,654,778,819
se_5238617
stackoverflow
MOBILE_DEVELOPMENT
is it possible to get a callback when a UITableView reload is done?
is it possible to get a callback when a UITableView reload is done? I am reloading some cells in my table view. After the reload is done, I want to scroll so that they are visible. I am aware of the scrollToRowAtIndexPath:atScrollPosition: method. But I need to call it after the reload as done, as said reload will ...
https://stackoverflow.com/questions/5238617/is-it-possible-to-get-a-callback-when-a-uitableview-reload-is-done
iphone, ios, uitableview, animation, scroll
1,299,620,052
se_79934402
stackoverflow
MOBILE_DEVELOPMENT
URLImage.createMaskAdapter() / Image.createMask() fails on iOS with moderately sized masks
URLImage.createMaskAdapter() / Image.createMask() fails on iOS with moderately sized masks I am seeing what looks like a recent regression in Codename One on iOS. The problem happens when creating a mask adapter using URLImage.createMaskAdapter(). The same code works correctly in the Codename One simulator and on Andr...
https://stackoverflow.com/questions/79934402/urlimage-createmaskadapter-image-createmask-fails-on-ios-with-moderately-s
ios, image, codenameone
1,777,582,544
se_59444875
stackoverflow
MOBILE_DEVELOPMENT
AVAudioConverter Opus
AVAudioConverter Opus I try to build VoIP application on iOS with echo cancellation. For AEC as I understand I need to use Audio Units. The main problem is how to use AVAudioConverter to encode microphone data to Opus? opusASBD = AudioStreamBasicDescription(mSampleRate: 48000.0, ...
https://stackoverflow.com/questions/59444875/avaudioconverter-opus
ios, avfoundation, core-audio, audiotoolbox, opus
1,577,023,435
se_77287627
stackoverflow
MOBILE_DEVELOPMENT
XCode Simulator is very slow
XCode Simulator is very slow I'm just starting developing with Xcode, and I tried to do an Hello World. When I run it, Simulator opens, but it is really slow. At first it showed me the loading circle on the iPhone, then a black screen. I thought it wasn't working so I closed the app. But, then, I tried to wait, and af...
https://stackoverflow.com/questions/77287627/xcode-simulator-is-very-slow
ios, xcode, ios-simulator
1,697,199,105
se_29135907
stackoverflow
MOBILE_DEVELOPMENT
SpriteKit - Sea Surface from above perspective with Swift in iOS
SpriteKit - Sea Surface from above perspective with Swift in iOS I want to implement a sea surface from above perspective for one of my games in iOS (with SpriteKit). Basically like a relaxed sea, from above - subtle wave motion going around, with possible objects floating and reacting with the motion. As if you're f...
https://stackoverflow.com/questions/29135907/spritekit-sea-surface-from-above-perspective-with-swift-in-ios
ios, swift, sprite-kit, physics, surface
1,426,729,780
se_79934261
stackoverflow
MOBILE_DEVELOPMENT
Flutter iOS In-App Subscription returns restored with expired transaction after re-purchase
Flutter iOS In-App Subscription returns restored with expired transaction after re-purchase I am implementing auto-renewable subscriptions in Flutter using the in_app_purchase package. Everything works fine initially, but I am facing an issue after the subscription expires and is purchased again. After re-purchasing t...
https://stackoverflow.com/questions/79934261/flutter-ios-in-app-subscription-returns-restored-with-expired-transaction-after
ios, in-app-purchase, flutter-in-app-purchase
1,777,557,305
se_79932029
stackoverflow
MOBILE_DEVELOPMENT
Delphi + PAServer: How to correctly export iOS app with Notification Service Extension (appex) – missing provisioningProfiles in exportOptions.plist
Delphi + PAServer: How to correctly export iOS app with Notification Service Extension (appex) – missing provisioningProfiles in exportOptions.plist I’m deploying an iOS app built with Delphi (FMX) using PAServer. The app includes a Notification Service Extension (.appex). The build succeeds, but the export step fails...
https://stackoverflow.com/questions/79932029/delphi-paserver-how-to-correctly-export-ios-app-with-notification-service-ext
ios, delphi, firemonkey
1,777,203,152
se_4493769
stackoverflow
MOBILE_DEVELOPMENT
How to fetch application icon and application description from iTunes store?
How to fetch application icon and application description from iTunes store? How could I fetch application icon and application details from iTunes store if I have app id?
https://stackoverflow.com/questions/4493769/how-to-fetch-application-icon-and-application-description-from-itunes-store
ios, app-store
1,292,877,812
se_72953588
stackoverflow
MOBILE_DEVELOPMENT
Why enabling Voice Processing on AVAudioInputNode changes channels count on its format?
Why enabling Voice Processing on AVAudioInputNode changes channels count on its format? I've noticed that enabling voice processing on AVAudioInputNode change the node's format - most noticeably channel count. let inputNode = avEngine.inputNode print("Format #1: \(inputNode.outputFormat(forBus: 0))") // Format #1: <AV...
https://stackoverflow.com/questions/72953588/why-enabling-voice-processing-on-avaudioinputnode-changes-channels-count-on-its
ios, macos, avfoundation, core-audio, avaudioengine
1,657,634,352
se_79928513
stackoverflow
MOBILE_DEVELOPMENT
How to add Paste button in UIMenu such that the system &quot;allow app to paste&quot; prompt does not appear
How to add Paste button in UIMenu such that the system &quot;allow app to paste&quot; prompt does not appear Apps that try to access the contents of the pasteboard cause a system prompt to appear asking the user "AppName" would like to paste from "OtherAppName" Do you want to allow this? Don't Allow Paste Allow Paste...
https://stackoverflow.com/questions/79928513/how-to-add-paste-button-in-uimenu-such-that-the-system-allow-app-to-paste-prom
ios, uikit, uipasteboard, uimenu
1,776,646,029
se_79933791
stackoverflow
MOBILE_DEVELOPMENT
Running Play Integrity/App Attest flow before new user signs up to your app
Running Play Integrity/App Attest flow before new user signs up to your app Flow: User enters credentials to sign up for your app Front end calls backend to get a nonce/challenge Front end generates token from device and send to Google/Apple servers for validation token Front end sends validation token along with sig...
https://stackoverflow.com/questions/79933791/running-play-integrity-app-attest-flow-before-new-user-signs-up-to-your-app
android, ios, google-play-integrity-api, ios-app-attest
1,777,482,557
se_79884780
stackoverflow
MOBILE_DEVELOPMENT
ScrollView ScrollPosition does not scroll reliably for items with variable heights
ScrollView ScrollPosition does not scroll reliably for items with variable heights This question is regarding a limitation in the current SwiftUI APIs and to see if people in the same boat have found any workarounds to this. My project is entirely SwiftUI. The main view consists of many elements in a ScrollView, and m...
https://stackoverflow.com/questions/79884780/scrollview-scrollposition-does-not-scroll-reliably-for-items-with-variable-heigh
ios, swiftui, uicollectionview, uiscrollview, lazyvstack
1,770,452,771
se_79929401
stackoverflow
MOBILE_DEVELOPMENT
how to develop ios on windows
how to develop ios on windows I'm just starting to experiment with app development and I'd like to build an iOS app. However, I only have a Windows PC. I know Xcode is exclusive to Mac, so what are my best options or workarounds for building and testing iOS apps on Windows? Any advice for a beginner would be greatly a...
https://stackoverflow.com/questions/79929401/how-to-develop-ios-on-windows
ios, iphone, windows
1,776,769,420
se_79933596
stackoverflow
MOBILE_DEVELOPMENT
AppShortcut is shown in Shortcuts app but not in Spotlight
AppShortcut is shown in Shortcuts app but not in Spotlight I want to create my own AppShortcut so I can search for my app and its contents on Spotlight. Currently I have these codes: import AppIntents @available(iOS 16.0, *) struct TransferIntent: AppIntent { static var title = LocalizedStringResource("Transfer m...
https://stackoverflow.com/questions/79933596/appshortcut-is-shown-in-shortcuts-app-but-not-in-spotlight
ios, swift, appintents, app-shortcut
1,777,459,087
se_79931082
stackoverflow
MOBILE_DEVELOPMENT
React Native Linear Gradient
React Native Linear Gradient a quick tip if your linear gradient is not working properly on iOS: just do two things to fix the issue. First, wrap the LinearGradient with a View and apply the LinearGradient’s styles to the View instead. Second, don’t use the locations property. Example: <LinearGradient colors={[theme...
https://stackoverflow.com/questions/79931082/react-native-linear-gradient
ios, react-native
1,777,004,637
se_67672550
stackoverflow
MOBILE_DEVELOPMENT
Error Domain=NSItemProviderErrorDomain Code=-1000 &quot;Cannot load representation of type public.jpeg&quot;
Error Domain=NSItemProviderErrorDomain Code=-1000 &quot;Cannot load representation of type public.jpeg&quot; I am using PHPickerViewController for image picking from the photo library instead of UIImagePickerController. When I use this code I couldn't get the image from already picked image. Error Domain=NSItemProvid...
https://stackoverflow.com/questions/67672550/error-domain-nsitemprovidererrordomain-code-1000-cannot-load-representation-of
ios, swift, ios-simulator
1,621,861,444
se_79933176
stackoverflow
MOBILE_DEVELOPMENT
Animate a view under navigation title
Animate a view under navigation title I am building a Toast message. Essentially it's just a rectangular view that I would like to display at the top of the current screen bellow the Nav Bar for few seconds. There is also a requirement that this animation comes from the top. So far fairly easy. ToastView().transition...
https://stackoverflow.com/questions/79933176/animate-a-view-under-navigation-title
ios, swiftui, swiftui-animation
1,777,391,765
se_19849509
stackoverflow
MOBILE_DEVELOPMENT
Encoding PCM (CMSampleBufferRef) to AAC on iOS - How to set frequency and bitrate?
Encoding PCM (CMSampleBufferRef) to AAC on iOS - How to set frequency and bitrate? I want to encode PCM (CMSampleBufferRef(s) going live from AVCaptureAudioDataOutputSampleBufferDelegate) into AAC. When the first CMSampleBufferRef arrives, I set both (in/out) AudioStreamBasicDescription(s), "out" according to documen...
https://stackoverflow.com/questions/19849509/encoding-pcm-cmsamplebufferref-to-aac-on-ios-how-to-set-frequency-and-bitrat
ios, audio, core-audio, aac, audiotoolbox
1,383,870,541
se_79933099
stackoverflow
MOBILE_DEVELOPMENT
How to scroll to the very top of a list in SwiftUI?
How to scroll to the very top of a list in SwiftUI? I've tried all kind of hacks but was not able to scroll to the very top of a list with a header in swiftui. Here's a MRE. It scrolls to the somewhat of the top, but not the most top position a user can scroll to by using the finger. I dont want to use a scrollview or...
https://stackoverflow.com/questions/79933099/how-to-scroll-to-the-very-top-of-a-list-in-swiftui
ios, list, swiftui
1,777,384,259
se_24237578
stackoverflow
MOBILE_DEVELOPMENT
[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[0]
[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[0] I have EAGLView hodling presentFrameBuffer and saving the screenshot from EAGLView send this sreenshot to UIViewController for UIActivityViewController social network framework. So, i saved in NSUserDefaults then retrieve in UI...
https://stackoverflow.com/questions/24237578/nsplaceholderarray-initwithobjectscount-attempt-to-insert-nil-object-from
ios, uiimage, nsarray, nsuserdefaults, uiactivityviewcontroller
1,402,899,265
se_79933144
stackoverflow
MOBILE_DEVELOPMENT
SwiftUI Navigation breaks intermittently when building with Xcode 26
SwiftUI Navigation breaks intermittently when building with Xcode 26 Has anyone else been getting reports of navigations breaking for a random subset of users since upgrading to Xcode 26? Broadly, it seems that the SwiftUI navigation state falls out of sync with the app state (in our case TCA) and refuses to perform r...
https://stackoverflow.com/questions/79933144/swiftui-navigation-breaks-intermittently-when-building-with-xcode-26
ios, swift, xcode, swiftui, swift-composable-architecture
1,777,388,037
se_79932794
stackoverflow
MOBILE_DEVELOPMENT
How can I change the background color of the selected tab in SwiftUI TabView?
How can I change the background color of the selected tab in SwiftUI TabView? I want to add a background color like below: I tried to achieve it by adding a ZStack, but was not successful and getting a view like this: TabView(selection: $coordinator.selectedTab) { // Chat Tab NavigationStack(path: coordinato...
https://stackoverflow.com/questions/79932794/how-can-i-change-the-background-color-of-the-selected-tab-in-swiftui-tabview
ios, swift, swiftui
1,777,333,731
se_79887332
stackoverflow
MOBILE_DEVELOPMENT
How to enable partial text selection in SwiftUI like iOS 26 iMessage
How to enable partial text selection in SwiftUI like iOS 26 iMessage In iOS 26, the iMessages app has a feature that allows selecting only part of the text. See the screenshots below. How can we achieve this kind of selection in SwiftUI? I tried using the .textSelection(.enabled) modifier, but it only shows the Copy a...
https://stackoverflow.com/questions/79887332/how-to-enable-partial-text-selection-in-swiftui-like-ios-26-imessage
ios, swift, swiftui
1,770,809,794
se_75976189
stackoverflow
MOBILE_DEVELOPMENT
How to enable/disable Hermes based on Android/iOS Environment Variables in React Native?
How to enable/disable Hermes based on Android/iOS Environment Variables in React Native? Due to compatibility issues of Hermes (in RN +71.0) with React Native Debugger, I want to disable Hermes on Development and enable it on Production automatically, with Android/iOS specific ENV files. In gradle.properties: # Use th...
https://stackoverflow.com/questions/75976189/how-to-enable-disable-hermes-based-on-android-ios-environment-variables-in-react
android, ios, reactjs, react-native, environment-variables
1,681,121,597
se_34856976
stackoverflow
MOBILE_DEVELOPMENT
Strange iOS Keyboard
Strange iOS Keyboard I am working on an app, and every now and then my keyboard starts acting strangely (see screenshot below). The keyboard isn't a custom keyboard, it's just using the dark appearance. I know there have been issues reported about keyboard issues on iOS 9, but I cannot find any of them. Does anyone kn...
https://stackoverflow.com/questions/34856976/strange-ios-keyboard
ios, keyboard, ios9, uikeyboard
1,453,126,881