Post

Replies

Boosts

Views

Activity

how to take large video (1GB) and keep in different path
hi, I want to take large video input from the gallery and take in my app, I have a code that is deprecated, I have a video URL, anyone helps me to save this video's URL to another path. I get the video URL by using a photo kit but I don't know how can I make a copy of this video and keep it in another path (my app). before I use this code   [[NSFileManager defaultManager] createFileAtPath:path contents:nil attributes:nil];   NSOutputStream *outPutStream = [NSOutputStream outputStreamToFileAtPath:path append:YES];   [outPutStream open];       long long offset = 0;   long long bytesRead = 0;       NSError *error;   uint8_t * buffer = malloc(131072);   double ok = [assetRep size] ; //ok  double  24011099 //  id size = [assetRep size] ;   while (       offset < ok && [outPutStream hasSpaceAvailable]) {           bytesRead =     [assetRep      getBytes:buffer      fromOffset:offset      length:131072      error:&error      ];           [outPutStream write:buffer maxLength:bytesRead];     offset = offset+bytesRead;   }   [outPutStream close];   free(buffer); thanks
1
0
491
Dec ’20
need advice about (guideline 2.5.1 - Performance - Software Requirements)
hi apple reject my application and give these msg. Your app uses public APIs in an unapproved manner, which does not comply with guideline 2.5.1 of the App Store Review Guidelines. Specifically, we found that your app uses a decoy functionality to hide a user’s photos, which is not an appropriate use of the Photos API. Since there is no accurate way of predicting how an API may be modified and what effects those modifications may have, Apple does not permit unapproved uses of public APIs in App Store apps. Next Steps Please revise your app to ensure that documented APIs are used in the manner prescribed by Apple. If there are no alternatives for providing the functionality your app requires, you can use Feedback Assistant to submit an enhancement request. anyone advice how to fix this rejection thanks
0
0
540
Nov ’20
apple reject my app! due to bluetooth used by third party library
hi apple reject my app and gave me this reason! We noticed that your app requests the user’s consent to access the Bluetooth but does not clarify the use of the Bluetooth in the applicable purpose string! i didn't use bluetooth in my project but i saw third party library use bluetooth please tell me how may i remove bluetooth link to third party api thanks
1
0
549
Oct ’20
remove coreBluetooth framework from xcode project
hi, i want to remove coreblutooth framework from my project because third party library use my bluetooth, i didn't use bluetooth in my project but bluetooth permission alert is shown when application is launched, when i run this "grep -r -a CoreBluetooth ProjectFolder" command in terminal its show "/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAds.framework/Modules/module.modulemap:// link framework "CoreBluetooth" " when i remove coreBluetooth framework from my project it's gave me three errors. Undefined symbol: OBJCCLASS$ CBCentralManager in objective c Undefined symbol: OBJCCLASS$CBUUID Undefined symbol: _CBCentralManagerOptionShowPowerAlertKey can anyone tell me how may solve these error. actually i want to remove bluetooth permission popup from my first screen. due to popup apple reject my app. Thanks
0
0
820
Oct ’20
bluetooth authentication popup show without connecting the bluetooth
hi, I didn't use Bluetooth in my app, but applications show me popup to allow Bluetooth, and if remove the Bluetooth permission in info.plist the app will crash. the app didn't call any type of Bluetooth method. i saw CoreBluetooth in project -> build setting -> linking -> CoreBluetooth, when i remove it i got an error. please tell me how may I remove Bluetooth pop with my project because I don't have Bluetooth usage in my project, thanks
1
0
786
Oct ’20
missing push notification entitelment
hi, i received this email after upload my app to the test-flight. even i don't use APNS capabilities in my project. my previous build is approved by the apple although new build just contain ui changes. ITMS90078: MISSING PUSH NOTIFICATION ENTITLEMENT Your app appears to register with the Apple Push Notification service, but the app signature's entitlements do not include the 'aps-environment' entitlement. If your app uses the Apple Push Notification service, make sure your App ID is enabled for Push Notification in the Provisioning Portal, and resubmit after signing your app with a Distribution provisioning profile that includes the 'aps-environment' entitlement. Xcode does not automatically copy the aps-environment entitlement from provisioning profiles at build time. This behavior is intentional. To use this entitlement, either enable Push Notifications in the project editor's Capabilities pane, or manually add the entitlement to your entitlements file.  please provide me solution. thanks
3
0
19k
Oct ’20