i have made an application to play .mp3 file from app bundle .i want to give play ,pause and next,previous control from WatchKit .is it possible?i have given play event on play button click but other function are not working. i tried too much thing but not succed.can any one have idea to give such control from WatchKit if possible?i set method in both app delegate and also watchKit interfaceController class when tap on play it pass play in dictionary and awake iphone extenction and play a mp3.but the problem stars now.when i pass pause and call method in appdelegate to pause current player it is not working.as well as in both case next and previous.
Search results for
file uri scheme
78,573 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
What is the proper way to do this? For example: I have two .sks files that both have a custom class associated with them. If I include a reference node on one of them and link that reference node to the other .sks file and run the project I experience a crash.Attemped to add a SKNode which already has a parent: <SKSpriteNode> name:'SKSpriteNode_0' texture:['nil'] position:{596.5, 412.5} scale:{1.00, 1.00} size:{100, 100} anchor:{0.5, 0.5} rotation:0.00The reference node works without custom classes. I am also unsure whether I should be inheriting from SKScene, or SKNode in my custom classes. Doing either seems to cause a crash. If I inherit from SKNode I get the above message. If SKScene I get an error about adding a physics world to one that already exists, which makes sense.
Exactly, I did find some sample code which plays an audio file, however this is by no means a solution as it has to open the media player in order to do so. I need a background audio player that doesn't interfere with the interface. NSDictionary *options = @{ WKMediaPlayerControllerOptionsAutoplayKey : @YES }; NSURL* falcon = [[NSBundle mainBundle] URLForResource:@falcon withExtension:@mp3]; [self presentMediaPlayerControllerWithURL:falcon options:options completion:^(BOOL didPlayToEnd, NSTimeInterval endTime, NSError * __nullable error) { if (!didPlayToEnd) { NSLog(@The player did not play all the way to the end. The player only played until time - %.2f., endTime); } if (error) { NSLog(@There was an error with playback: %@., error); } }];
Topic:
App & System Services
SubTopic:
Core OS
Tags:
I believe this has to do with Server 5. I noticed the same thing. It was making zip files of my sparcebundles under the timemachine backups. Except it was copying to my local drive! Used up all the free space I had. Uninstalled Server 5 and it went away.However then I encountered other issues (all files on external drive went hidden) and I had to revert back to 10.10.4.
Topic:
App & System Services
SubTopic:
Core OS
Tags:
Hello,I am having problems managing large files with NSURLSession. My app upload to the server photos and videos from the photo library and I have problems with large files (2Gb more or less).For upload the files to the server I'm using NSURLSession with background session configuration. If I upload videos with a size minor than 2GB the file is uploaded properly in all of my test devices. With video files of 2G the upload process does not works in all of the devices.It's working in iPad air with 8.1.2, in iPad air with 7.2, in iPhone 5S with 8.3 and in iPhone 6 plus with 8.2It's not working in iPhone 5 with 8.1.2Are there a limitation for that?*I have checked that my test devices have at least 5GB of memory free.
Exchange email works OK, and on two computers the exchange calendar shows, but on one it only shows until I open Mail, then it disappears forever. The files are there in ~/Library/Calendars but it doesn't show in Calendar app.Filing a radar. Beta 1!
Topic:
App & System Services
SubTopic:
Core OS
Tags:
Hi,I try to use universal Links see in WWDC Session (509)I put my apple-app-site-association into my root website{ applinks: { apps: [], details: { SVNXXXXX.ch.myapp.myapp: { paths: [*] } } } }I have activated associated domains and provide this file in my project :<?xml version=1.0 encoding=UTF-8?> <!DOCTYPE plist PUBLIC -/ <plist version=1.0> <dict> <key>com.apple.developer.associated-domains</key> <array> <string>applinks:www.myapp.ch</string> <string>applinks:myapp.ch</string> </array> </dict> </plist>And into my delegate I have : func application(application: UIApplication, continueUserActivity userActivity: NSUserActivity, restorationHandler: ([AnyObject]?) -> Void) -> Bool { if userActivity.activityType == NSUserActivityTypeBrowsingWeb { let webURL = userActivity.webpageURL! print(webURL) } return true }If I click to link with or without HTTPS and with or without www it's safari who is displayed, never appSo
You need to sign the json with your developer ID. Only in Beta 2 are they dropping the requirement for signing the json, as long as you're targetting an iOS 9 deployment. If you need to support iOS8, then you'll still need to sign the json file.
Topic:
App & System Services
SubTopic:
Core OS
Tags:
I have not seen this with video, but have seen blank black photos. Filed as rdar://21358620
Topic:
App & System Services
SubTopic:
Core OS
Tags:
An informative write-up on the changes can be found here:http://awkwardhare.com/post/121196006730/quick-take-on-ios-9-url-scheme-changes
Topic:
App & System Services
SubTopic:
Core OS
Tags:
What about creating a sepparate target for iOS8 and iOS9?You would need to include appropriate storyboards in each target for the iOS version.You can set the initial storyboard file in each target.
Topic:
Developer Tools & Services
SubTopic:
General
Tags:
With Xcode 7, two different files are created when you choose to `Create NSManagedObject Subclass`. One file is an extension that adds the properties that are added in the model editor. You aren't supposed to edit this file. Instead you edit the second file, the class file, that's created. This is where you add any custom functionality you want your NSManagedObject subclass to have. The point of this, as far as I can tell, is so that you can add your custom functionality, but when you later change the model, you can regenerate a new extension with the updated attributes/relationships without affecting or overwriting the custom code that you wrote.But...Xcode 7 beta 1 isn't doing this. Selecting `Create NSManagedObject Subclass` blows away both files. Is this a bug or am I missing something?Erik
Thanks for reporting these two issues; Ignoring debug info with an invalid version (3) is bug 21271717, but please file a bug about “Abort trap: 6,” and post the bug number here. If it's an assertion failure, please also post the text of the assertion.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
If you can share the contents of the header files, please file a bug report together with preprocessed header. To produce the preprocessed header, you can paste the failed command into Terminal and replace -c with -E and -o <...> with -o /tmp/PreprocessedHeader.h.
Topic:
Developer Tools & Services
SubTopic:
General
Tags:
If possible, please file a bug for this issue and attach the project which is causing the crash.If you are unable to attach the full project, please look at the build log and try to determine exactly what command is crashing with the Abort 6 message. If it is the compiler, you should be able to open the source file which is crashing, then use Product > Perform Action > Preprocess ... to generate a preprocessed source file which can be attached to the bug and used by us to isolate the crash.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: