Compare Proposal

Nothing to compare.

Get icloud token and record audio

  • Posted at : 2 months ago
  • Post Similar Project
25

Budget
1
Proposals
75
Views
Awarded
Status

Posted By -

RF

5.0
Projects Posted : 25
Projects Paid : 15
Services Purchased : 0
Total Spent :
617
Feedbacks : 93 %

Project Details show (+) hide (-)

hi, i need some code to allow me to get the icloud token for users iOS device.

we using xcode here is code we tried but it doesnt work, we need the unique token as a string

-(NSString*)iOS_Cloud_Token
{
    NSFileManager* fileManager = [NSFileManager defaultManager];
    id currentiCloudToken = fileManager.ubiquityIdentityToken;
   
    if (currentiCloudToken == nil)
     {
     return "";
     }
    else
     {
     return String(currentiCloudToken);
     }
}

not sure if this is swift or objective C but its to be compile to iphone app on xcode.

Secondly a bit more work maybe, is we need a simple way for iOS users to record the music being played on device using mic to a mp3 or wav file.  so we press record it records the sound, then you press stop and it saves the recorded audio using filename we give and to folder accessible by the user.

if you can just do the first bit with getting token then bid accordingly