Search results for

“translate scheme”

6,658 results found

Post

Replies

Boosts

Views

Activity

iOS 9 GM - AVPlayerLayer video rendering
Hey all,Since iOS 9 GM is out there i started getting strange effect on iPhone 6 and 6 plus (running the iOS 9 GM maybe on all iPhones). I am using base SDK iOS 8 latest oficial. I am not sure what might be causing this problem but i will try to explain my current view configuration.1) The AVPlayerLayer is added as sublayer in a view that is added as subview in a tableviewHeaderView2) The view that holds the AVPlayerLayer is using autoresizing masks and translating to autolayoutHere is the result:1) The sound is aways playing but the video is sometimes presented when the layoutSubviews is called and the view that holds the AVPlayerLayer changes it's frame to make it fullscreen.2) If the app is started in landscape mode videos are playing with image and soundI have tried to call :self.setNeedsLayout() self.layoutIfNeeded()However i haven't achieved any consistent success.Hope someone has some insights!Regards,Todor
0
0
296
Sep ’15
Opening a specific event in Calendar
Is it possible to open a specific event in Calendar using a URL scheme?We're an organization that hosts events involving anywhere from 100-4000+ technical presentations. We have an event app that allows our attendees to build personalized schedules of presentations they're interested in attending. In an upcoming release the user will have the ability to save their scheduled events to the Calendar app and/or view their personal Calendar events within the context of their personalized event schedule.Currently, if a personal event is selected it's treated identically to a presentation and loads detail view within the application and I'd like to at least provide the option of opening the event within the Calendar app.
0
0
590
Sep ’15
Reply to Convert Swift string to C char array
You should be able to just pass the Swift string. The const char * parameter of the C method should be converted to UnsafePointer<Int8> on the Swift side which can be passed as a Swift String (automatically translated).Note the following quote from the Swift Cocoa iBook:A String value, if Type is Int8 or UInt8. The string will automatically be converted to UTF8 in a buffer that lasts for the duration of the call.Excerpt From: Apple Inc. “Using Swift with Cocoa and Objective-C (Swift 2 Prerelease).” iBooks.
Topic: Programming Languages SubTopic: Swift Tags:
Sep ’15
Reply to How do I install apps that were available in previous version of Apple TV, like Netflix, Hulu, or Amazon Prime Videos?
Sorry, I don't see how Apple's apps play in the scheme of things while testing your apps, which is presumably the main reason why you received one...Or do you have a specific example of your apps directly interacting with Apple's?Otherwise, it won't be that long to wait for the release version of tvOS and the (revised?) Apple apps you mentioned, so use that time to exercise your apps.
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’15
WatchOS2 testing issue
I'll go ahead and preface this post by saying we are using xctool test -scheme ... -workspace ... -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6' to run the test suite on jenkins. Our tests used to run fine until we converted our watchOS1 app to a watchOS2 app. Now the test target fails to run with the errortarget specifies product type 'com.apple.product-type.application.watchapp2', but there's no such product type for the 'iphonesimulator' platformHas anyone else run into this problem, or have any suggestions?Thanks,
0
0
204
Sep ’15
El Capitan GM (15A282a) Hangs on Successful Login
My main user account hangs (beachball and spinner) on the login screen after I enter the correct password. I created a second administrator account through the Guest account and can log into that account without a problem. I suspect the issue is specifically related to my main account.Before getting to the issue, here's what I've tried so far:PRAM resetSMC resetSafe ModeReinstall El Capitan GMSince I was able to log in, I see the following to lines repeated (in varying order) dozens to hundreds of times:Sep 17 21:08:37 Franks-MacBook-Air ***[1952] <Warning>: LaunchServices: Scheme mapping file does not exist, creating file.Sep 17 21:08:38 Franks-MacBook-Air ReportCrash[1905] <Warning>: Removing excessive log: file:///Users/affected_username/Library/Logs/DiagnosticReports/***_2015-09-17-185823_Franks-MacBook-Air.crashLogfiles similar to the one claimed excessive in the error message all contain something like the following:Process: *** [718] Path: /usr/libexec/*** Identifier: *** Version:
9
0
1.5k
Sep ’15
The device does not recognize this host on xcode 7 and watch os2.
So updated to watch OS2, iPhone 9.0 and xcode 7. When creating a new watch app project, the app does not launch to the watch at all.I got this error:The device does not recognize this host.Please check your setup and try again.At the scheme, it shows:Ineligible deviceiPhone+Apple Watch(unavailable)Anyone knows what I can do? I have already tried many different ways like re-adding my watch on the developer page and they don't work.
1
0
1.4k
Sep ’15
URL scheme for the Movies app
How would you link to a specific movie in the movies app from your app? Using UIApplication.sharedApplication().openURL and an iTunes link (such as http://geo.itunes.apple.com/us/movie/mad-max-fury-road/id990549112?mt=6) does not work and gives the error LaunchServices: ERROR: There is no registered handler for URL scheme http.Is there an URL scheme for the default Movies app on tvOS and if so, how do you use it to open a specific movie?
5
0
1.4k
Sep ’15
Writing to Label from Gesture function
Need some help. New to the forum and first post. I'm using the handlePan gesture to move a rectangle on view and is woking. I want to display the center coordinate on real time while moving the rectangle on the label topLabel.text. For some reason when I use: println ((view.center.y)) I can see the value update on the output window and all works corrrectly. But if I replace this line with topLabel.text = ((view.center.y)) it doesn't work; rectangle don't even move.class ViewController: UIViewController { @IBOutlet weak var topLabel: UILabel! override func viewDidLoad() { super.viewDidLoad() } override func didReceiveMemoryWarning() { super.didReceiveMemoryWarning() } @IBAction func handlePan(recognizer:UIPanGestureRecognizer) { let translation = recognizer.translationInView(self.view) if let view = recognizer.view { view.center = CGPoint(x:view.center.x, y:view.center.y + translation.y) topLabel.text = (view.center.y) } recognizer.setTranslation(CGPointZero, inView: self.view) }}New to swift also, of
4
0
483
Sep ’15
iOS 9 GM - AVPlayerLayer video rendering
Hey all,Since iOS 9 GM is out there i started getting strange effect on iPhone 6 and 6 plus (running the iOS 9 GM maybe on all iPhones). I am using base SDK iOS 8 latest oficial. I am not sure what might be causing this problem but i will try to explain my current view configuration.1) The AVPlayerLayer is added as sublayer in a view that is added as subview in a tableviewHeaderView2) The view that holds the AVPlayerLayer is using autoresizing masks and translating to autolayoutHere is the result:1) The sound is aways playing but the video is sometimes presented when the layoutSubviews is called and the view that holds the AVPlayerLayer changes it's frame to make it fullscreen.2) If the app is started in landscape mode videos are playing with image and soundI have tried to call :self.setNeedsLayout() self.layoutIfNeeded()However i haven't achieved any consistent success.Hope someone has some insights!Regards,Todor
Replies
0
Boosts
0
Views
296
Activity
Sep ’15
Opening a specific event in Calendar
Is it possible to open a specific event in Calendar using a URL scheme?We're an organization that hosts events involving anywhere from 100-4000+ technical presentations. We have an event app that allows our attendees to build personalized schedules of presentations they're interested in attending. In an upcoming release the user will have the ability to save their scheduled events to the Calendar app and/or view their personal Calendar events within the context of their personalized event schedule.Currently, if a personal event is selected it's treated identically to a presentation and loads detail view within the application and I'd like to at least provide the option of opening the event within the Calendar app.
Replies
0
Boosts
0
Views
590
Activity
Sep ’15
Reply to tvos Deep Linking
Custom URL Schemes are supported on tvOS. Their implementation is up to the individulal app developers, as is the case on iOS.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’15
Reply to why a new Xcode released today?
It's the Mac App Store public release version to replace the recent GM Seed from last week...gets everyone on the same update scheme, apparently.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’15
Reply to Open Maps from WebView link
Maps links are documented in the Apple URL Scheme Reference.Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Replies
Boosts
Views
Activity
Sep ’15
Reply to Convert Swift string to C char array
You should be able to just pass the Swift string. The const char * parameter of the C method should be converted to UnsafePointer<Int8> on the Swift side which can be passed as a Swift String (automatically translated).Note the following quote from the Swift Cocoa iBook:A String value, if Type is Int8 or UInt8. The string will automatically be converted to UTF8 in a buffer that lasts for the duration of the call.Excerpt From: Apple Inc. “Using Swift with Cocoa and Objective-C (Swift 2 Prerelease).” iBooks.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Sep ’15
Reply to How do I install apps that were available in previous version of Apple TV, like Netflix, Hulu, or Amazon Prime Videos?
Sorry, I don't see how Apple's apps play in the scheme of things while testing your apps, which is presumably the main reason why you received one...Or do you have a specific example of your apps directly interacting with Apple's?Otherwise, it won't be that long to wait for the release version of tvOS and the (revised?) Apple apps you mentioned, so use that time to exercise your apps.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’15
WatchOS2 testing issue
I'll go ahead and preface this post by saying we are using xctool test -scheme ... -workspace ... -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6' to run the test suite on jenkins. Our tests used to run fine until we converted our watchOS1 app to a watchOS2 app. Now the test target fails to run with the errortarget specifies product type 'com.apple.product-type.application.watchapp2', but there's no such product type for the 'iphonesimulator' platformHas anyone else run into this problem, or have any suggestions?Thanks,
Replies
0
Boosts
0
Views
204
Activity
Sep ’15
El Capitan GM (15A282a) Hangs on Successful Login
My main user account hangs (beachball and spinner) on the login screen after I enter the correct password. I created a second administrator account through the Guest account and can log into that account without a problem. I suspect the issue is specifically related to my main account.Before getting to the issue, here's what I've tried so far:PRAM resetSMC resetSafe ModeReinstall El Capitan GMSince I was able to log in, I see the following to lines repeated (in varying order) dozens to hundreds of times:Sep 17 21:08:37 Franks-MacBook-Air ***[1952] <Warning>: LaunchServices: Scheme mapping file does not exist, creating file.Sep 17 21:08:38 Franks-MacBook-Air ReportCrash[1905] <Warning>: Removing excessive log: file:///Users/affected_username/Library/Logs/DiagnosticReports/***_2015-09-17-185823_Franks-MacBook-Air.crashLogfiles similar to the one claimed excessive in the error message all contain something like the following:Process: *** [718] Path: /usr/libexec/*** Identifier: *** Version:
Replies
9
Boosts
0
Views
1.5k
Activity
Sep ’15
The device does not recognize this host on xcode 7 and watch os2.
So updated to watch OS2, iPhone 9.0 and xcode 7. When creating a new watch app project, the app does not launch to the watch at all.I got this error:The device does not recognize this host.Please check your setup and try again.At the scheme, it shows:Ineligible deviceiPhone+Apple Watch(unavailable)Anyone knows what I can do? I have already tried many different ways like re-adding my watch on the developer page and they don't work.
Replies
1
Boosts
0
Views
1.4k
Activity
Sep ’15
Reply to Extraneous http request being made by AVFoundation
I thought reserved schemes like HTTP and HTTPS will not work if we use AVAssetResourceLoaderDelegate. It's great if these schemes also work with that mechanisms.
Topic: Media Technologies SubTopic: Streaming Tags:
Replies
Boosts
Views
Activity
Sep ’15
LaunchServices: ERROR: There is no registered handler for URL scheme fbauth
Can any one suggest solution for my issue occuring in ios9LaunchServices: ERROR: There is no registered handler for URL scheme fbauthThanks & Regards Deepthi
Replies
1
Boosts
0
Views
2.4k
Activity
Sep ’15
URL scheme for the Movies app
How would you link to a specific movie in the movies app from your app? Using UIApplication.sharedApplication().openURL and an iTunes link (such as http://geo.itunes.apple.com/us/movie/mad-max-fury-road/id990549112?mt=6) does not work and gives the error LaunchServices: ERROR: There is no registered handler for URL scheme http.Is there an URL scheme for the default Movies app on tvOS and if so, how do you use it to open a specific movie?
Replies
5
Boosts
0
Views
1.4k
Activity
Sep ’15
Writing to Label from Gesture function
Need some help. New to the forum and first post. I'm using the handlePan gesture to move a rectangle on view and is woking. I want to display the center coordinate on real time while moving the rectangle on the label topLabel.text. For some reason when I use: println ((view.center.y)) I can see the value update on the output window and all works corrrectly. But if I replace this line with topLabel.text = ((view.center.y)) it doesn't work; rectangle don't even move.class ViewController: UIViewController { @IBOutlet weak var topLabel: UILabel! override func viewDidLoad() { super.viewDidLoad() } override func didReceiveMemoryWarning() { super.didReceiveMemoryWarning() } @IBAction func handlePan(recognizer:UIPanGestureRecognizer) { let translation = recognizer.translationInView(self.view) if let view = recognizer.view { view.center = CGPoint(x:view.center.x, y:view.center.y + translation.y) topLabel.text = (view.center.y) } recognizer.setTranslation(CGPointZero, inView: self.view) }}New to swift also, of
Replies
4
Boosts
0
Views
483
Activity
Sep ’15
Reply to Margins on actual TV
I think I know/have seen what you're describing, thanks.You might want to try checking/NSLog'ing bounds to see if your layout scheme obeys available.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’15