Search results for

file uri scheme

78,586 results found

Post

Replies

Boosts

Views

Activity

AVAudioRecorder and audio data file offset
I'm trying to get a wav file to outside API from iOS. I've managed to do the file and post it from iPhone but the service doesn't take it (API errors are not helpful either). I've managed to track down the difference between a file I manage to send to the service and the file save with iPhone to audio data file offset parameter. afinfo command gives the working file value 44 and iOS saved audiofile has 4096. Is there any way to change this to 44 also on iOS?My current settings for AVAudioRecorder:let recordSettings = [ AVNumberOfChannelsKey: 1, AVSampleRateKey: 16000.0, AVFormatIDKey: kAudioFormatLinearPCM, AVLinearPCMBitDepthKey: 8, AVLinearPCMIsBigEndianKey: false, AVLinearPCMIsFloatKey: false, AVLinearPCMIsNonInterleaved: false ]
2
0
1.1k
Jun ’15
Recording audio on Watch - file not found
Hello,I have problem with new recording APIs presented at WWDC.I'm using presentAudioRecordingController, it works, i am able to record something, but in completion block, when i'm trying to read this file - it doesn't exist.http://pastebin.com/Q4ZuwpMFThis is the code i'm using. didSave is true, and error is nil. Have you got any ideas? Maybe i'm trying to write to the wrong directory?Thank you very much,
0
0
159
Jun ’15
Reply to share file from Google Drive or Dropbox to App
Thanks for the tips!I've managed to create an extension that gets the share url and downloads the file to the shared container. I can then read this container when my app opens and import the files from there.What I can't work out is how to customize the share dialog. I don't need the text field or the image. Ideally I'd like to show a progress bar and remove the post button. I'm printing the progress percentage to the console so now I just need to work out how to customize the ui.Any suggestions on how to customize the dialog?
Topic: UI Frameworks SubTopic: UIKit Tags:
Jun ’15
Reply to .m and .h files not being added to target
If you are using the El Capitan seed, be aware that application-specific options that are added to the save sheet are now collapsed by default. There is an Options button in the bottom left of the save sheet that will disclose them. Xcode puts target membership choices and group coices in those options when creating new files.
Jun ’15
Reply to Bitcode and Assembly?
Assembly source files should work in the sense that you can build and run your project. I did not mean to imply that we somehow de-compile the assembly source into bitcode.Searching for a bitcode section is not a reliable way to detect if your files contain embedded bitcode. If you want to do that, search for the __LLVM segment. You should be aware that a normal build with the -fembed-bitcode-marker option will produce minimal size embedded bitcode sections without any real content. This is done as a way of testing the bitcode-related aspects of your build without slowing down the build process. The actual bitcode content is included when you do an Archive build.
Jun ’15
Reply to Logon error icloud
Good to know. I had already (before I found the suggestion to delete the files) changed the password to basically everything I could into first: App store, iTunes store, Facetime, Messages, etc. I had likely done most of what you were required to do after deleting the files. For anyone still running into this issue, try changing every password you can by launching individual apps, then try removing those files and attempting to hit the iCloud control panel again.Good luck!
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
What gives with the moderation delay?
Ok I posted an issue yesterday and it has not been passed through moderation I find this dissapointing because it is pretty much the last thing I need to fix before submitting my app.Reasons I suspect there may be a delay:- it may be a system bug, but I am used to using the forums to determine whether or not my issue is a bug before filing a bug report.- it contains a link to github where i have placed example code.But the most frustrating part of this is that there is a delay with no response at all, meaning I have no idea where my post is, or if it is even worth continuing to check on it.Takeaway:Moderation Queue, understood that it is somewhat necessary, but a bad idea if the delay time is more than 5 minutes. I'm probably not going to stick around if this is the status quoP.S.Might be a good idea to link the views attribute to unique ip addresses instead of page reloads.
1
0
603
Jun ’15
Reply to iOS 9 no connectivity in device GSM or Wi fi
This has happeneded to me over and over since installing iOS 9. Seems to happen more when I'm out of the house moving around on data networks. I'm on an iPhone 5 (Model A1428, AT&T GSM).(Soft) restarting the device has worked every time but one to restore connectivity. The one time it didn't work, restarting a second time solved it.Edit: I filed a bug for this, andyou should too. Make sure to note your device's model number.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Reply to What gives with the moderation delay?
Some non-Apple* links require moderation. Best way to avoid that wait is to not use them, or... make two comments, with one saying links below available when they clear the moderation queue.FWIW, I've not seen the wait go beyond a few hours, but maybe it all depends on who is or isn't on duty, etc.As usual, file bugs against the forum for things you'd like to see, but I wouldn't hold my breath in this case.*Example: http://stackoverflow.com/questions/27863810/swift-difference-between-self-and-self◅▻
Jun ’15
Programmatically adding XIB
Hello my fellow compatriots,I've been learning to use XIB's as of late. As of right now, my XIB is not being programmatically added and all frames and bounds are 0,0.Any assistance would be awesome.XIB h file@interface builder : UIView @property (strong) IBOutlet UIImageView *theImage; / @property (nonatomic) NSInteger locX; @property (nonatomic) NSInteger locY; @property (strong) IBOutlet UIView *view; @endXIB m file#import builder.h @end @implementation builder @synthesize locX; @synthesize locY; - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { UITouch *touch = [touches anyObject]; UITouch *touched = [[event allTouches] anyObject]; CGPoint location = [touch locationInView: touched.view]; locX = location.x; locY = location.y; NSLog(@%ld and %ld, (long)locX, (long)locY); / } - (id) initWithFrame:(CGRect)frame{ self = [super initWithFrame:frame]; if (self) { / [[NSBundle mainBundle] loadNibNamed:@builder owner:self options:nil]; self.bounds = self.view.bounds; / NSLog(@%@, N
9
0
1.2k
Jun ’15