Search results for

Visual Studio Maui IOS

105,734 results found

Post

Replies

Boosts

Views

Activity

Appearance of custom control changes depending on where it is used.
I made a custom SwiftUI control with two sliders trying to mimic the appearance of the new sliders in version 26 OSs. I was able to get something close to the way Apple's single slider looks and works. This is how it normally looks: And this is how it looks when one of the sliders is being dragged: This isn't perfect but I could live with it. Except that I want to use that control in a SwiftUI List, and by placing it in the list it doesn't have the same appearance though it functions the same. When the thumbs aren't being dragged it looks like this: Same as before which is great. But when one of the thumbs is being dragged it looks like this: Something about dropping the control into a List broke the transparency effect. All these screenshots were taken using the Xcode simulator for iOS. I achieved the transparency effect using .glassEffect(.clear.interactive(true)) on the thumb, along with a second capsule drawn on top when the thumb isn't being dragged. I needed the second capsule, if I messed with
Topic: UI Frameworks SubTopic: SwiftUI
0
0
72
3w
Issue with StoreKit 2 Purchases: "unfinalized statements / unfinished backups" SQLite Crash
Hi, I’m running into a persistent error while implementing StoreKit 2 renewable subscriptions in my SwiftUI app. Context I have a two-screen flow: Screen 1: user selects a subscription plan (monthly / yearly). Screen 2: user fills out personal information and taps Subscribe that triggers the purchase function. On first launch or the first couple of purchases (on both Storekit's local and Sandbox testing), everything works fine. The App Store popup appears, the purchase goes through, and I get the transaction result. But after a few runs (3rd or 4th purchase attempt onward), my app crashes the moment the App Store purchase popup appears. Error Logs When the crash happens, the console shows: `unable to close due to unfinalized statements or unfinished backups BUG IN CLIENT OF libsqlite3.dylib: database integrity compromised by API violation: vnode unlinked while in use: /private/var/mobile/Containers/Data/Application/D8D97A11-DF06-4EF2-AC55-138C4739A167/Library/d6d2e85a60f0480c4c17834eeb827a14_MPDB.sqlite inval
1
0
64
3w
Reply to Xcode 26.0 unknown type name 'sqlite3_context'
The file shown in your screenshot is part of the iOS SDK, so it does not normally have compile errors like this. That indicates that the problem is elsewhere in your build configuration, and this file is an innocent victim of a problem elsewhere. I see a build error that says failed to emit precompiled module, so maybe start there and work backwards. Since your project involves Cocoapods, it's possible that tool's configuration is also adding to this issue, so you should work to determine if their configuration set up by their tool is part of the source here, and if that turns out to be the case, you'll want to get in contact with their support resources. — Ed Ford,  DTS Engineer
3w
ProgressView Tint doesn't work on macOS
I seem to be unable to affect the color of a linear ProgressView() on macOS and need to know if this is a feature or a bug. I have the following: ProgressView(value: someProgress).tint(.green) This works fine in iOS, the linear ProgressView changes to the desired color. On macOS the ProgressView stays the color of the system accent. .progressViewStyle(LinearProgressViewStyle(tint: .blue)) Is available, but depreciated, or being depreciated. I have also tried: .tint(.red) .accentColor(.green) While I can understand the platform specific differences, the context that I'm using really would benefit from keeping the UI elements colored consistent with the app, rather than the OS. Also I can do it in iOS, why not macOS? Both dev and test machines are running latest updates (Xcode 26.0.1/macOS 26.0.1 and iOS 26.0.1/macOS26.0.1)
3
0
117
3w
Reply to [iOS 26] Can no longer detect whether iPhone has notch
Depending on your minimum deployment version, isn't it just the matter of a elimination game with UIDevice.current.name? import SwiftUI struct ContentView: View { var body: some View { VStack { ... } .onAppear(perform: { let device = UIDevice.current print(1 (device.name)) // iPhone 16 Pro print(2 (device.systemName)) // iOS print(3 (device.model)) // iPhone print(4 (NSUserName())) // mobile print(5 (device.description)) // //print(6 (device.model)) // iPhone }) .padding() } }
Topic: UI Frameworks SubTopic: General Tags:
3w
Reply to Image Miniaturization Issue
The brother app went through the review process two days ago. The new app in question went through the review process successfully an hour ago. So why the toolbar item images from Assets.xcassets were miniaturized into 4-by-by tiny images possibly under iOS 26? I have no clue. As a possible remedy, I have created 3 scale versions for each toolbarItem image at the exact sizes (84 px, 56 px, 28 px) as opposed to just one image having the app resize it. I was pretty much prepared to abandon this new app. I'm kind of surprised that it has gone through the review process without a hitch
Topic: UI Frameworks SubTopic: SwiftUI
3w
Reply to xcodebuild -exportLocalizations Fails Due to Cross-Platform Dependencies
Hi - thanks for the quick response. I'll try to answer as best as I can. Could you tell me more about these watchOS targets? My primary curiosity is how they are able to build successfully even during a normal build, if their dependencies do not support watchOS. I mentioned at the bottom of my original post that our app is [a mixture of] SPM packages and traditional target structure. This is mostly because SPM was introduced after our app was already published and created. We've slowly been migrating old features to SPM, and new features get added to SPM. The reason we love SPM is it introduces modularity for us, and enables greater code sharing. The way we decided to structure SPM within the context of all of our targets is one shared Package.swift file. This is because so many of our targets share the same code, it seemed easier at the time to keep all our various libraries within one SPM package (I hope that makes sense). So our one Package.swift declares all platforms like this: platforms: [ .iOS
3w
Reply to CarPlay Image Issue on iPhone 17?
Thank you for your post. For help with the CarPlay , please post in the Apple Support Community. The Apple Developer Forums are for questions about APIs and features intended specifically for developers. https://discussions.apple.com/welcome If you are using a beta version of iOS (please provide the version and build) with CarPlay , please file bug reports through Feedback Assistant. https://feedbackassistant.apple.com/ Hope this helps and you find the solution quickly. Albert Pascual
  Worldwide Developer Relations.
Topic: Community SubTopic: Apple Developers Tags:
3w
Reply to .hidden not working when making UIBarButtonItem visibles on iOS 26
Thank you for sharing your post. Could you please provide a focus project that I can utilize to test your implementation? Could you please provide all the versions of your environment, including Xcode, macOS, and iOS target? If so, please share a link to your test project. That'll help us better understand what's going on. If you're not familiar with preparing a test project, take a look at Creating a test project. Albert Pascual
  Worldwide Developer Relations.
Topic: UI Frameworks SubTopic: General
3w
Phonebook
I don't like the ios 26 phone book because sometimes, I just want to look up contanct info. Now, I have to go into edit to see the contact info. Then, I cannot even see the whole phone number at once. When I click on it, I still cannot see tha whole number. Please make it the way it was! Note: I tried to find a place to report this as an iphone user and couldn't, so I put it here. Please making finding a place like this available and easy to find for ios users.
0
0
84
3w
Reply to AlarmKit alarm UI strings are lost after updating OS
It turns out the situation is worse than I thought: it's not the OS update that triggers the bug, but merely restarting the device! If I schedule an alarm with the above code and then restart my device, the alarm triggers at the correct time, but the UI shows the localization keys instead of the strings. I just installed the iOS 26.1 beta (23B5044I) and it's still broken, so I've filed a bug report: FB20472264 As a temporary workaround, I will set my localization keys to English language strings.
3w
.hidden not working when making UIBarButtonItem visibles on iOS 26
Hi, I have a UIToolbar at the bottom of my screen. The UIToolbar is made of UIBarButtonItems. At some point, I change the status of some buttons to hidden: button.isHidden = true This works: the buttons become invisible. At a later point in the process, I turn the buttons visible again: button.isHidden = false This did work on iOS 18, and does not work with the iOS 26 SDK: the buttons remain hidden, even though the property has been set to false. Am I doing it wrong? Is there anything I can do to fix this?
Topic: UI Frameworks SubTopic: General
3
0
158
3w
Background GPU access in iOS 26 for iPhones
We build mobile apps for creators to edit their videos. Post editing the video, the creator has to export the video so that it can be uploaded to Youtube. The export is a time consuming and GPU intensive process. The creator can exit the app due to various reasons like receiving the call, putting the app in background etc. This causes the export to fail :( Keeping this limitation in mind there was an announcement from Apple that with the IOS 26 launch would start to support background GPU access. Here is the official documentation: https://developer.apple.com/documentation/BundleResources/Entitlements/com.apple.developer.background-tasks.continued-processing.gpu When we tried using this feature, we were not able to get it to work on IOS 26. We stumbled upon this ticket(https://developer.apple.com/forums/thread/797538?answerId=854825022#854825022) in the Apple Developer forum, in which possibly an Apple engineer claims it is supported ONLY for iPadOS 26. This is a very big bummer for us. 96%
1
0
172
3w