Search results for

We are unable to process your request

69,585 results found

Post

Replies

Boosts

Views

Activity

Downloading Large File using AFNetworking fails when device with passcode enabled locked
Hello all, I am trying to download a large file from a server using AFNetworking with NSURLSessionConfiguration backgroundSessionConfiguration. The download start and succeed when app is in foreground. The download process still succeed if the app goes to background. If the device is configured without a passcode, the download still succeed even if the device got locked while downloading the large file. The download process gets interrupted and fails when the device is configured with a passcode and locked. The issue happen with both iOS 7 and iOS 8. Any help is appreciated to solve this issue? Here is the error description that I receive when such failure happen: Error Domain=NSPOSIXErrorDomain Code=1 The operation couldn’t be completed. Operation not permitted UserInfo=0x166378d0 {NSErrorFailingURLKey=https://webp.googlecode.com/files/webp-samples.zip, NSErrorFailingURLStringKey=https://webp.googlecode.com/files/webp-samples.zip}
2
0
987
Jun ’15
OS X 10.11 iCloud settings deliver spinning wheel after expired password was changed
When I started my El Capitan partition today, I was requested to change the password on my Apple ID since it seemed to have expired.So I did and the next thing that happened was that I was told there was no access to iCloud so I pressed the button iCloud settings.System settings showed up (Systemeinstellungen as I use a german localisation, was it preferences in english?) and a spinning wheel occured... That was the last thing to happen.Same result, if I choose iCloud from the system settings directly. Spinning wheel, no dialog. Did not try to change the settings before, so I can't say if changing the password was actually the cause.Anybody run into this also?How can I post a bug report about that situation?(Needless to say that I cannot use the CloudKit samples any more).RegardsUlli
3
0
5.1k
Jun ’15
Realtime audio processing within an AVAudioEngine
Hello All,on my goal to creat a simple sampler instrument in Swift for iOS I came across a problem that I could not find a solution for -> Realtime Audio Processing.First of all I am pretty new to programming (Swift around 7 months - no experience in Obj-C and C++) but I am having multiple years of experience in hands on sound engineering.ScopeMy goal is to create a simple sampler with the following processing graph:AVAudioPlayerNode -> Volume Envelope -> AVAudioEngine.mainMixerNodeHere my Idea was to use the AVAudioPlayerNode to play my sound files at different pitches - then trigger a volume envelope that fades in the volume over a certain period of time to avoid the noisy click at the start of the sound. After stopping a note I wanted to create a fade out effect by triggering a fade out volume ramp.By using multiple AVAudioPlayerNode + Volume Evnelope pairs I wanted to achieve polyphony. The processing of the volume envelope should have been done on a per sample level to leave ro
5
0
15k
Jun ’15
Reply to Generic Protocol Extension
`flatMap` is just how you get from a generic `OptionalType`, which has no useful semantics aside from `flatMap`, to an `Optional<T>`, which you can then compare to `nil`, unwrap, etc... Types other than `Optional<T>` might plausibly implement `OptionalType`, so you need to make the conversion.I don't like this particular implementation, since it handles the other plausible implementors of `OptionalType` incorrectly. If `Generator.Element` is anything other than `Optional<Generator.Element.T>`, then `{ $0 }` will be `Generator.Element -> Optional<Generator.Element>` instead of `Generator.Element -> Generator.Element`, i.e. it'll be equivalent to `Some` instead of `id`. I'm actually surprised that the special case is handled at all here, actually (haven't tested it).If you could impose the additional constraint that `Generator.Element == Optional<Generator.Element.T>`, then you would solve this, and potentially eliminate the need for `flatMap`, though I'm unable to t
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15
TestFlight & privacy
I am curious as to the level of privacy of an app being dropped into TestFlight. My current effort is protected by NDA and I am very careful about revealing what i am doing as yet, but i have a few trusted testers who live far away. TestFlight seems like a great solution. BUT.. am i risking the privacy of the process by releasing the binary to this platform?thank you, drew..
0
0
308
Jun ’15
Reply to Storyboard References
You should be able to stick with a 'main' storyboard and still add tab items (not employ 'child' storyboards) - see this link http://www.appcoda.com/storyboard-tutorial-create-tab-bar-controller-and-web-view/ / Adding a New Tab - if your new tab item isn't a webview, just make the appropriate same only different modifications but still use the same process.◅▻
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Can I install iOS7 on iPhone4s? (current iOS 6.1.3)
Hi.I want to install iOS7 on my iPhone4s iOS6.1.3 installed.I downloaded install file(iPhone4,1_7.0_11A465_Restore.ipsw) and tried install, but failed.# Fail messageThe iPhone iPhone could not be restored. This device isn't eligible for the requested build.I know that can't downgrade from iOS8.My app has app crash issue on iOS7 with beacon (on iOS8 OK)How can I install iOS7 on my iPhone?
2
0
449
Jun ’15
ipad mini crash
I developed an app for all iOS devices. My app was working great in simulators, ipads and iphones, but it got crashes in ipad mini only. I have tried to run the app directly from xcode to my ipad mini, but it still crashed (no log). The app showed the launching screen, and then screen became in black. After a few seconds, apple logo came out again. The whole process just like restarting my ipad mini. I especially tested my app with ipad2, it worked very smooth.Anyone has idea what I did wrong to make this issue?
0
0
254
Jun ’15
Core Data - Create NSManagedObject Subclass
I created a test app called Template9b1. The first step I've taken is to use a Template Master / Detail with Core Data. I modified the Entity (called Event) with 4 properties instead of the default timestamp. I used Create NSManagedObject Subclass, and it created the 2 files as it should.// Event+CoreDataProperties.swiftimport Foundationimport CoreDataextension Event { @NSManaged var theDate: NSDate? @NSManaged var name: String? @NSManaged var favorite: String? @NSManaged var status: NSNumber?}// Event.swiftimport Foundationimport CoreData@objc(Event)class Event: NSManagedObject { // Insert code here to add functionality to your managed object subclass}When I run it (simulator), I get an error2015-06-16 23:34:48.842 Template9b1[50760:1014766] CoreData: warning: Unable to load class named 'Template9b1.Event' for entity 'Event'. Class not found, using default NSManagedObject instead.In the past, to get rid of this type of error, I would put the name of the app Template9b1 in the module for the inspecto
5
0
6.9k
Jun ’15
TIFF subviews
I've inherited an application that must read and process about 4000 multi-page tiff images. I'm not an image expert, and I'd love to utilize UIImage to view these, but it would appear that UIImage is ignoring any additional subviews in the tiff file. It will correctly report and display the first image.I was originally optimistic that I could utilize the images property, but since these are not animated images, this property returns nil. I'm able to verify that my images have multiple pages (subviews) utliizing SwiftView.if let img = UIImage(named: multipageTiff) { if let images = img.images as? [UIImage] { println(images (images.count)) } else { println(images is nil) } image = imgThe above code works great at assigning the original image to an UIImageView (image), however the println returns nil, so I'm stuck. Any suggestions would be greatly appreciated.Thanks!
3
0
796
Jun ’15