I'm trying to access my core data from the watch kit extension but i'm unable to use the shared application because it's not available in watch kit. How do I initialize the managedObjectContextwithin my view controller without using the shared application code?if (self.managedObjectContext_ == nil) { self.managedObjectContext_ = [(AppDelegate *)[[UIApplication sharedApplication] delegate] managedObjectContext]; }right now, it's assuming my managedObjectContext is nil.How do I initialize core data outside my app delegate in the watchkit controllers?
Search results for
Request failed with http status code 503
190,690 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Took the same actions as you did. Had to reconfigure some of them which sucked. Here to hoping it won't happen again!http://en.wikipedia.org/wiki/%F0%9F%8D%BB
Topic:
App & System Services
SubTopic:
Core OS
Tags:
I looked at using requestLocation but as that only performs one request rather than continous requests I was hoping there would be another way as I share the code for both the iPhone and Watch app.I use a distance filter that only gives me locations when I've moved a certain distance which is really convenient so I guess I need to implement a similar setup for the watch, or as suggested above keep location functionality on the phone.
Topic:
App & System Services
SubTopic:
Core OS
Tags:
Because you're calling the code to start the session in your view controller, you'll have to actually start your iPhone app in order to initiate session info from the iPhone. When you run the watch scheme, only the watch simulator launches the app. Your iPhone app is launched in the background of the iPhone simulator if your watch tries to access it. Also, my understanding is you have to call the same activateSession and delegate methods in the watchkit extension and the iPhone app. But I could be wrong on this part. I think maybe why you're seeing the error message is that your initiating the session on the iphone app, but running only the watch app. so the watch tries to look for a session that isn't there because your iPhone view controller wasn't launched to create the session yet.
Topic:
App & System Services
SubTopic:
Core OS
Tags:
Hi Here is the latest crash logApp launch -> login -> fetch data show data for a second and crash{app_name:OIDAR,app_cohort:2|date=1433912400000&sf=143464&tid=3231324fdde256ebb12259fd91884ff385f8bc040d77173fede1785edaa01bff,app_version:2,slice_uuid:66b2d6ab-d787-3b15-95dc-a3678d6713bd,adam_id:883207563,build_version:23,bundleID:com.oidarapp.oidar,share_with_app_devs:false,is_first_party:false,bug_type:109,os_version:iPhone OS 8.3 (12F70),is_beta:true,name:OIDAR} Incident Identifier: 2C332772-B316-4FBE-9AFE-4CAA0C337F2F Beta Identifier: 87CEC1DE-409A-4204-AD9F-B36D624090BF Hardware Model: iPhone7,1 Process: OIDAR [1829] Path: /private/var/mobile/Containers/Bundle/Application/1528C051-37FB-4F76-9E6C-62ADD1EC3AE1/OIDAR.app/OIDAR Identifier: com.oidarapp.oidar Version: 23 (2) Beta: YES Code Type: ARM-64 (Native) Parent Process: launchd [1] Date/Time: 2015-06-10 13:06:25.053 +0800 Launch Time: 2015-06-10 13:06:04.297 +0800 OS Version: iOS 8.3 (12F70) Report Version: 105 Exception Type: EXC_B
Topic:
App Store Distribution & Marketing
SubTopic:
App Review
Tags:
Hi all?I am an electrical engineer who has recently learnt Swift for a new project.I know Swift is an OO language but I can't resist making comparisons to other languages I have used previously in science and academia.The applications I am writing relies heavily on mathematics and I really wish Swift had more built in support for basic mathematical constructs.I was very disappointed to see Apple reserving the ^ keyword for a bitwise operation (XOR) rather than a power function as is pretty standard elsewhere.If I could have one built in function added to Swift it would be the Power function using preferably the ^ keyword.After that, why not throw in the basic trigonometric functins too? Would that be too much to ask? I don't condone bloating Swift by adding every single mathematical function in existance, just a few of these basics to make the easy stuff a whole lot quicker and more portable.Yes I know you can use overload operators and subscripts, but this just adds more custom code which kills any
I have the same issue. Messages are not mirroring. They also say they failed to deliver on the watch but say delevered via imessage on my iPhone. SMS funtionality id definitly broken in Beta 1.
Topic:
App & System Services
SubTopic:
Core OS
Tags:
I have the same issue. Messages are not mirroring. They also say they failed to deliver on the watch but say delevered via imessage on my iPhone. SMS funtionality id definitly broken in Beta 1.
Topic:
App & System Services
SubTopic:
Core OS
Tags:
I tried to downgrade because i have to send my iphone off to Apple due to a fauty screen, but it fails half way through teh usuaul process. It say the phone failed to restore and then tries to download 8.3 again (even though i've jut told it to instal that a few minutes beofre hand). From previous betas this hasnt been a problem. UPS are due in 1/2 hour to pick up the phone so this is a bit of a problem!Legally speking I fail to see how Apple can void a legal gaurantee for a hardware defect because i put an authorised developer release on via a dev account etc on, but I really dont want them to have to recieve a phone with a dev release on and then refuse it!W
Topic:
App & System Services
SubTopic:
Core OS
Tags:
After installing OS X 10.11, some apps now gives me To open 'this Java application' you need to install the legacy Java SE 6 runtime.However, the Java in this link now refused to install. What can I do?https://support.apple.com/kb/DL1572?viewlocale=en_US&locale=en_US
I am able to test my app on the simulator, but Xcode fails to install and run the app on iPhone 6 plus.My app name does not include non latin lettersCerrificates are valid.Appreciate your help.
There is no Newsstand folder with shelves anymore. Newsstand apps are converted to normal apps, so a normal icon and no more issue cover. Also the Newsstand folder is converted into a regular folder. Does that make sense?Check out this screenshot: https://twitter.com/MrWillParkinson/status/608021080956141568
Topic:
App & System Services
SubTopic:
Core OS
Tags:
Hi everyone,Let's say you're working with a publisher and your contract has expired, but the publisher is not giving you the app back. Is there a way to request it back through Apple? Has any of you been in a situation like this? Thank you.
An option to delete a favorite contact without deleting the base contact information, only the status of favorite itself.
Hi,I try to use NSURLSession with HTTPAdditionalHeaderMy code setting headers in requestlet URL = NSURL(string: (hostName)(uri))! let request = NSMutableURLRequest(URL: URL) request.HTTPMethod = method request.HTTPBody = NSJSONSerialization.dataWithJSONObject(params, options: nil, error: nil) request.setValue(application/vnd.myapp.v2, forHTTPHeaderField: Accept) request.setValue(application/json, forHTTPHeaderField: Content-Type) request.setValue(gzip, forHTTPHeaderField: Content-Encoding)And with POST request it's produce this on my server :Parameters: {email=>me@email.com, password=>[FILTERED], subdomain=>api, session=>{email=>me@email.com, password=>[FILTERED]}}With NSURLSession, setting headers with HTTPAdditionalHeaders of NSURLSessionConfigurationvar headers = [ Accept: application/vnd.myapp.v2, Content-Type: application/json, Content-Encoding: gzip, ] let request = NSMutableURLRequest(URL: NSURL(string: (hostName)(uri))!) request.HTTPMethod = method