We have an app that captures images and videos and we share them to a server. Now at initial state the app works fine, but as we start using the app, the memory grows and my app crashes finally. Kindly help in identifying how to rectify and remove the resident memory and dirty memory.
Post
Replies
Boosts
Views
Activity
Hi, developer
I have face the duplicate issue while using cloudkit. I am using registration app. I use cloudkit for generate UHID also. Is cloudkit is good to generate UHID.
My problem,
Cloudkit automatically sync the data in background at the time user create new reg.
Eg: Cloudkit had 20 data but in local it insert 11 data and is in progress at the user create new one, i fetch latest UHID and i get 11 at the time i get the duplicate. I use the deduplicate code also, but some times not helpful also if two user get reg data at the same time it get conflict.
Hi, I am using Cloudkit to maintain unique data in all devices. I install the device and enter the data that are merge in all devices and i don't open the device for a day, i worked with other device but after i open the old device the new data get erased and old data got merge with all devices. How can i handle the data i need only the new data.
I got this error while fetching products using storekit 2 in swiftui.
2023-05-23 12:19:51.196042+0530 SKDemo[1183:172700] [Default] Error enumerating unfinished transactions for first transaction listener: Error Domain=ASDErrorDomain Code=500 "(null)" UserInfo={client-environment-type=Sandbox, storefront-country-code=AUS, NSUnderlyingError=0x2812e0210 {Error Domain=AMSErrorDomain Code=301 "Invalid Status Code" UserInfo={NSLocalizedDescription=Invalid Status Code, AMSURL=https://mzstorekit-sb.itunes.apple.com/inApps/v1/history?REDACTED, AMSStatusCode=500, AMSServerPayload={
errorCode = 5000001;
errorMessage = "An unknown error occurred. Please try again.";
okButtonString = OK;
}, NSLocalizedFailureReason=The response has an invalid status code}}}
2023-05-23 12:19:58.672549+0530 SKDemo[1183:172693] [Default] Error enumerating all current transactions: Error Domain=ASDErrorDomain Code=500 "(null)" UserInfo={NSUnderlyingError=0x2812d5f50 {Error Domain=AMSErrorDomain Code=301 "Invalid Status Code" UserInfo={NSLocalizedDescription=Invalid Status Code, AMSURL=https://mzstorekit-sb.itunes.apple.com/inApps/v1/history?REDACTED, AMSStatusCode=500, AMSServerPayload={
errorCode = 5000001;
errorMessage = "An unknown error occurred. Please try again.";
okButtonString = OK;
}, NSLocalizedFailureReason=The response has an invalid status code}}, storefront-country-code=AUS, client-environment-type=Sandbox}.
Hi, apple developer can you please share your dual, triple camera switching project to improve our development side.
Hi, i am using iPhone 12 pro max to test the triple camera case, but it get crash [AVCaptureDevice setVideoZoomFactor:] The passed videoZoomFactor 0.500000 is out-of-range [1, activeFormat.videoMaxZoomFactor]'. I searched and get the result videozoomfactor start range is 1.0, then how to i use 0.5.Please response.
Hi all,
I am loading 10 GB of images from document directory but my app get crashed, while fetch and getting the images using url.How can i get rid from this without memory issue warning. I need to load more than this size.
Any advice.
Hi,
I am using avfoundation to capture the images. But if i use session preset as photo, my image size is 2mb, but in default iPhone camera shows the image as same as photo size but it size is only less than mb it always in kb. Why my image size reaches mb.
Hi, I am using Storekit 2, i get the error code : 5000000. In Storekit we use SKError to spot it, in Storekit 2 how to handle this. Please suggest.
Hi, I need the to convert png o jpeg image into svg image for quality and clear pixel while zooming, can you please let me know how to do in iOS or there is any framework available, or we can change the image data as vector.
Hi, I am working on Subscription when i saw the SKDEmo apple video, and many of the other developer statement is, need to provide Restore button.
My question is: App restore the subscription automatically using Storekit 2, then why we need Restore button and please explain what is the purpose of the button in Storekit 2.
Hi, I am using SKDemo project. For the first time it will renew properly, suppose i will uninstall and reinstall the app updateCustomerProductStatus() function not get called or it will take more than 10 minutes. I don't know what is the issue.