Posts

Sort by:
Post not yet marked as solved
0 Replies
4 Views
My Objective-C app contains several hundreds lines of deprecated code like these: NSData *tmp = [NSKeyedArchiver archivedDataWithRootObject:singleTaskCleanUserArrayItem]; singleTaskUserArrayItem = [NSKeyedUnarchiver unarchiveObjectWithData:tmp]; New recommended methods: +archivedDataWithRootObject:requiringSecureCoding:error: +unarchivedObjectOfClass:fromData:error: How to implement the new methods in Objective-C? Forums and Documentation refer to Swift but not to Objective-C. Please give me a sample code for the two lines of code Best regards, Gerhard
Posted
by
Post not yet marked as solved
0 Replies
31 Views
I need to obtain data through mqtt and subscription? Is there any idea or framework ? Think you
Posted
by
Post not yet marked as solved
1 Replies
40 Views
Hi, I am developing iOS mobile camera. I noticed one issue related to the user privacy. when AVCaptureVideoStabilizationModeStandard is set to AVCaptureConnection which sessionPreset is 1920x1080Preset, after using system API to take a photo, the FOV of the photo will be bigger than preview stream and it will show more content especially in iPhone 15 pro max rear camera. I think this inconsistency will cause the user privacy issue. Can you show me the solution if I don't want to turn the StabilizationMode OFF? I tried other devices, this issue is ok but in iPhone 15pm this issue is very obvious. Any suggestions are appreciated.
Posted
by
Post not yet marked as solved
0 Replies
26 Views
Greetings, I have set up two tips in my app, and my app is configured with Tips.configure([.displayFrequency(.daily)]. Tip 1 is set up with no options. Tip 2 has the IgnoresDisplayFrequency(true) option set: var options: [Option] { MaxDisplayCount(3) // We want the user to see these because it's important. IgnoresDisplayFrequency(true) } This option works as expected, as far as I can tell, in terms of making sure that Tip 2 is shown even if I've already seen Tip 1 today. If I interact with my app such that Tip 1 is displayed, and I then interact with it such that Tip 2 should be displayed, Tip 2 shows immediately, even though a day hasn't passed. However, if I do this the other way around, so that Tip 2 is displayed first, and then I interact so that Tip 1 should be displayed, my expectation would be that Tip 1 is not displayed, because another tip has already been shown today. I expected that it would not be shown until the following day, since it is not configured to ignore the tip frequency. That's not what happens, though. Tip 1 is displayed right away, even though Tip 2 has just been shown. This makes me think that setting IgnoresDisplayFrequency on Tip 2 is causing it to also be ignored when considering whether other tips should be shown. I did try omitting IgnoresDisplayFrequency option, and then as expected, only one tip is shown on a day, no matter which one is shown first.
Posted
by
Post not yet marked as solved
0 Replies
35 Views
Hello, I have a swift package that supports visionOS and one of its targets is a xcframework that also support visionOS and when I try to archive that swift package (using xcodebuild archive) I get this error: note: '<xcframework path>' is missing architecture(s) required by this target (x86_64), but may still be link-compatible. (in target '[library name]' from project '<swift package name>') But starting in Xcode 15.2 (I have Xcode 15.4 installed), you cannot develop for visionOS on Intel machines. So why does it require that the xcframework needs x86_64 support for the visionOS simulator? Any help would be great. Thanks!
Posted
by
Post not yet marked as solved
0 Replies
37 Views
Hi there. I've been trying to take a snapshot programmatically on apple vision pro but haven't succeeded. This is the code I am using so far: func takeSnapshot<Content: View>(of view: Content) -> UIImage? { var image: UIImage? uiQueue.sync { let controller = UIHostingController(rootView: view) controller.view.bounds = UIScreen.main.bounds let renderer = UIGraphicsImageRenderer(size: controller.view.bounds.size) image = renderer.image { context in controller.view.drawHierarchy(in: controller.view.bounds, afterScreenUpdates: true) } } return image } However, UIScreen is unavailable on visionOS. Any idea of how I can achieve this? Thanks Oscar
Posted
by
Post not yet marked as solved
0 Replies
50 Views
Hello! I've encountered an issue with the seller name on the App Store. It seems you can only change it once, during the initial app submission, and unfortunately, we missed that chance. Now, we're stuck with a long, non-English name for life. Here’s the problem: In my country, when choosing a company name, selecting a "field of activity" is mandatory. Let’s say our company is called "X". You can’t just name it "X Inc."; it has to be "X + Field of Activity + Entity Type." Since our language is not English, and aiming for a global market, our name ended up as "X + Foreign words nobody understands + Inc." When I reached out to support, after 7-8 tickets, they only removed the"Inc." but left our field of activity in the name: "X + Game Technologies (Not in english)." It seems Apple can make exceptions and change names, but in this frustrating situation, support is not helping. We want to use just the name "X". We were told to change our company name legally, and only then would they consider changing it on the App Store. The issue is that it’s not just a company name; it's including a descriptor of our field of activity, which legally cannot be omitted. Why is changing the seller name a one-time opportunity? If you miss it or make a mistake, you are forced to stick with something so critical for your company forever. Does anyone here have advice or solutions for this situation?"
Posted
by
Post not yet marked as solved
0 Replies
65 Views
I'm creating a slate pad for Ipad with several input fields to fill using Adobe XD. How can I obtain and attach a virtual keyboard to fill these input fields? I found a video with a similar concept but on Iphone: https://www.youtube.com/watch?v=O7tPI0VuKd4&list=PLWeIX-zcNnqII-nzviv_yxT2WNQRRYbiG&index=3 In this other link, the video mentions that the virtual keyboard was obtained from a UI kit that Apple provides. But I've looked and looked and I can't find a page to download this virtual keyboard. Any ideas? https://www.youtube.com/watch?v=rosf7-zVYjY&t=122s
Posted
by
Post not yet marked as solved
0 Replies
45 Views
Can anyone give me assistance on how to fix this. My preview crashed because a Fatal Error in ModelData. This is how my ModelData looks: import SwiftUI struct SutraokeDetail: View { @Environment(ModelData.self) var modelData var sutra: Sutras var body: some View { @Bindable var modelData = modelData ScrollView { CircleImage(image: sutra.image) .offset(y: -130) .padding(.bottom, -130) VStack(alignment: .leading) { HStack{ Text(sutra.name) .font(.title) Spacer() Text(sutra.text) } } } } } #Preview { let modelData = ModelData() return SutraokeDetail(sutra: modelData.sutras[0]) .environment(modelData) }
Posted
by
Post not yet marked as solved
1 Replies
49 Views
I'm in the process of submitting an app to the App Store and am preparing screenshots for various display sizes. I noticed that there's an option for a 13'' display, which corresponds to the new iPad Air. However, I can't find a simulator for the 13'' iPad Air in my XCode. Is it mandatory to upload screenshots for this size, or can I omit them? Additionally, how can I download the simulator for the new iPad Air? Thanks!
Posted
by
Post not yet marked as solved
0 Replies
39 Views
Hello, we use apple ID as a sign-up/log-in method, when we released our appstore version, did the switch from beta to market app. Our bundle ids have changed, now we are wondering that is there any way to help users to reach their old accounts using the market app with a different bundle id or any smart idea to approach to to this problem
Posted
by
Post not yet marked as solved
0 Replies
36 Views
I've added my Vendor ID to the appropriate entitlement files but my binary fails validation when trying to upload it to the store for distribution. The embeded.mobileprovision file in the generated archive shows an asterisk instead of my approved Vendor ID. How can I make sure the embedded provisioning file has my Vendor ID?
Posted
by
Post not yet marked as solved
0 Replies
37 Views
I am developing an WKWebView app that runs on both mobile and mac platforms using a react website. Currently, an admin user can send a call request in which the user gets a pop-up to answer. on iOS it works as intended, the user is asked to grant permission to utilize camera and microphone and the user is immediately connected upon accepting, however I never receive the pop-up when running in Mac Catalyst. I have ensured to enable permissions in sandbox settings as well as adding NSCamera and NSMic permissions in the property list. in the safari debugging console I receive this error upon clicking the accept call ReferenceError: Can't find variable: RTCPeerConnection Ive attempted to use the webview callback requestMediaCapturePermissionFor, and this did not seem to trigger on attempting to answer the call. Is this an error on my development end? or is this an issue I should look to the react code for a fix. I appreciate any feedback possible. Thanks.
Posted
by
Post not yet marked as solved
0 Replies
47 Views
I am managing a subscribed calendar through my iPhone and am curious about how iOS handles 4xx error responses from calendar APIs. Specifically, I would like to know if there is a process that stops the iPhone from attempting to sync the calendar if it consistently receives 4xx errors from the server. Does iOS have a mechanism to pause or stop calendar sync under such error conditions to prevent unnecessary data usage and battery drain? Any guidance or insights on this behavior would be greatly appreciated.
Posted
by
Post not yet marked as solved
0 Replies
45 Views
I have an online service where it lets people subscribe to iCalendar feed. I'm wondering if there is a way to force the subscriber (their Calendar client) to stop their subscription. I have some subscribers who subscribed to a feed that doesn't exist anymore. The annoying part is that these subscribers is fetching the data every 30 seconds! I looked at iCalendar specification and it doesn't look like this is supported. I tried few http response codes (404 and 410), but this doesn't stop the client. The user agent I'm seeing in the log shows "iOS/17.4 (21E219) dataaccessd/1.0". Any help is appreciated.
Posted
by
Post not yet marked as solved
1 Replies
52 Views
SwiftData includes support for CloudKit sync. However, I don't see any way to add conflict resolution behavior. For example, if different devices set different values for a field, or if a relationship is orphaned because of a deletion on another device, the application has to handle this somehow. In Core Data (which SwiftData wraps), you can handle this with the conflict resolution system (docs) and classes like NSMergePolicy. Is any of this accessible in SwiftData? If not, how do you deal with conflicts when syncing a SwiftData model with the cloud?
Posted
by

TestFlight Public Links

Get Started

Pinned Posts

Categories

See all