Search results for

“translate scheme”

6,658 results found

Post

Replies

Boosts

Views

Activity

iOS 9 LaunchServices: ERROR: There is no registered handler for URL scheme itms-services
We have some in-house apps and before iOS 9, the apps will open a link like itms-services:// after version compare, the new version apps will be downloaded and install.But after we tested on iOS 9, we found the apps cannot open the link itms-services:// link, got error like LaunchServices: ERROR: There is no registered handler for URL scheme itms-servicesThe code we used to update the app:let downloadUrl = NSURL(string: url)UIApplication.sharedApplication().openURL(downloadUrl!)We have tested put itms-services, itms-services:// and the full URL into LSApplicationQueriesSchemes in plist file. But still not work.
1
0
4.9k
Sep ’15
Reply to Writing to Label from Gesture function
This is turning me crazy... even with a function I can't grab the origin value into a label. If I uncomment the topLabel.text line it just stop working, still I can see the coordinate with the print line... Any suggestion is appreciated.import UIKit class ViewController: UIViewController { @IBOutlet weak var topLabel: UILabel! let centerY = 0 override func viewDidLoad() { super.viewDidLoad() / } override func didReceiveMemoryWarning() { super.didReceiveMemoryWarning() / } func writeLabel( valor: CGFloat){ print((valor)) // topLabel.text = (valor) this line doesn't work } @IBAction func handlePan(recognizer:UIPanGestureRecognizer) { let translation = recognizer.translationInView(self.view) let view = recognizer.view let centerY = view!.center.y view!.center = CGPoint(x:view!.center.x, y:view!.center.y + translation.y) writeLabel (centerY) recognizer.setTranslation(CGPointZero, inView: self.view) } }
Topic: Programming Languages SubTopic: Swift Tags:
Sep ’15
Reply to Swift nsinputstream not giving me the correct data from Trimble
Yeah can't find a way to convert. I've tried just about everything, little endian. I've tried adding or subtracting to make zeroes c2's and vice versa the 02 to be a 24 so that the statement starts with a $ sign.the android data is fine:2447504747412c2c2c2c2c2c2c2c2c2c4d2c2c4d2c2c2a3536da2447504753562c2c2c2a3739da244750524d432c3137353630332e30312c562c2c2c2c2c2c2c3236303831352c2c2c4e2a3732da00024 is $ then G and the 2c's are commas. it directly translates to$GPGGA, with some commas and some sections with data.Something is off, but at least I know data is coming through.
Topic: Programming Languages SubTopic: Swift Tags:
Sep ’15
Reply to Offline compilation of metal shader files
The GLSL optimizer tests project uses this command to validate the output of their glsl -> metal translation, I imagine something like this is what you're looking for?/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/usr/bin/metal metalTemp.metal -o metalTemp.o -std=ios-metal1.0 -Wno-parentheses-equalityEDIT: original reply had a link to glsl optimizer github page but was stuck in moderation, so just google for it if you're interested 😀
Topic: Graphics & Games SubTopic: General Tags:
Sep ’15
Focus on SKNode in SKView with SpriteKit Scenes
Hi guys,I'm working on porting one of my existing apps to both tvOS and SpriteKit, both of which are new to me.Given these are already new, I'm sticking to what I know and doing the majority in Obj-C and branching into Swift when/if/where I feel comfortable.The problem I'm having is translating how the focus works for a SpriteKit Scene, and adding focus to a SKNode.Anyone have any tips on how this is meant to work?Am I meant to catch and throw from my main UIViewController?I'm spiking out with a simple Game using SpriteKit boilerplate, but the UIFocusEnvironment documentation isn't jelling with me.t
3
0
932
Sep ’15
Link to universal search movie item
Is there a way from your tvOS app to link to a universal search movie item (like you get with Siri search).In iOS you're able to launch iTunes to link to an item using a specific URL that will be picked up in safari and launch the native app:- Apple describes the iPhone URL schemes (is there a similar one for tvOS?) https://developer.apple.com/library/ios/featuredarticles/iPhoneURLScheme_Reference/iPhoneURLScheme_Reference.pdfIs there some way to link to a search query and launch via custom URL e.g.`search://Mad%20Max%20Fury%20Road`
2
0
444
Sep ’15
Reply to To download and execute code
Apple has stated via the review guidelines that only content can be downloaded once an app is in the store, not code.You'd need to download a value, only and let the fixed expression be part of the downloaded app, I guess.But what pricing are you talking about? Perhaps a derived quote scheme...not some purchase within the app?
Sep ’15
Reply to Removing Developer Name
Apple provides two versions of the 'Individual Developer Account' scheme, where one is for a person and one is for a company. They will need LLC documentation for the latter, and only then can you choose to use a DBA string, etc. versus the person's name used to register the account. Use the Contact Us tree via iTunes Connect to begin that conversation if it applies to your case.
Sep ’15
iOS9 using custom URL schemes to deep link
So I know Apple is pushing for the usage of universal links, but until we convert to them I would still like to support the deep linking of content to our app through a custom URL scheme. And as suggested I have already registered our apps scheme in the LSApplicationQueriesSchemes key of our Info.plist file. Our issue is specifically with devices running iOS9. If these users simply tap the Play in App button on one of our webpages within the Safari app, they are redirected to the AppStore and to our app's landing page, even though the app is already installed. But if the user taps and holds, they are then presented with a UIActionSheet that offers them the choice to either open the link through our app or copy the link. If they choose to open with our app, it performs the actions expected as devices running IOS8 and earlier. Can't we get this functionality without the need for the long press?Another oddity is if the user navigates to one of our webpages via the Chrome app and taps the Play i
1
0
2.8k
Sep ’15
Reply to How to display CNContact using CNContactViewController
This displays a new contact in edit-mode just fine:import UIKit import ContactsUI class ViewController: UIViewController, CNContactViewControllerDelegate { let store = CNContactStore() ... override func viewDidLoad() { super.viewDidLoad() / let contact = CNMutableContact() contact.givenName = John contact.familyName = Smith let contactVC = CNContactViewController(forNewContact: contact) self.presentViewController(contactVC, animated: true, completion: nil) } override func didReceiveMemoryWarning() { super.didReceiveMemoryWarning() / } } ... self.store.requestAccessForEntityType(.Contacts, completionHandler: { (granted, error) in if (granted) { do { let completeContact = try self.store.unifiedContactWithIdentifier(contact.identifier, keysToFetch: [CNContactViewController.descriptorForRequiredKeys()]) dispatch_async(dispatch_get_main_queue(), { self.showContact(completeContact) }) } catch let e as NSError { print(e.localizedDescription) print(e.localizedRecoveryOptions) } } })Mine is in a view controller while
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’15
iOS 9 LaunchServices: ERROR: There is no registered handler for URL scheme itms-services
We have some in-house apps and before iOS 9, the apps will open a link like itms-services:// after version compare, the new version apps will be downloaded and install.But after we tested on iOS 9, we found the apps cannot open the link itms-services:// link, got error like LaunchServices: ERROR: There is no registered handler for URL scheme itms-servicesThe code we used to update the app:let downloadUrl = NSURL(string: url)UIApplication.sharedApplication().openURL(downloadUrl!)We have tested put itms-services, itms-services:// and the full URL into LSApplicationQueriesSchemes in plist file. But still not work.
Replies
1
Boosts
0
Views
4.9k
Activity
Sep ’15
Reply to Writing to Label from Gesture function
This is turning me crazy... even with a function I can't grab the origin value into a label. If I uncomment the topLabel.text line it just stop working, still I can see the coordinate with the print line... Any suggestion is appreciated.import UIKit class ViewController: UIViewController { @IBOutlet weak var topLabel: UILabel! let centerY = 0 override func viewDidLoad() { super.viewDidLoad() / } override func didReceiveMemoryWarning() { super.didReceiveMemoryWarning() / } func writeLabel( valor: CGFloat){ print((valor)) // topLabel.text = (valor) this line doesn't work } @IBAction func handlePan(recognizer:UIPanGestureRecognizer) { let translation = recognizer.translationInView(self.view) let view = recognizer.view let centerY = view!.center.y view!.center = CGPoint(x:view!.center.x, y:view!.center.y + translation.y) writeLabel (centerY) recognizer.setTranslation(CGPointZero, inView: self.view) } }
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Sep ’15
Reply to Swift nsinputstream not giving me the correct data from Trimble
Yeah can't find a way to convert. I've tried just about everything, little endian. I've tried adding or subtracting to make zeroes c2's and vice versa the 02 to be a 24 so that the statement starts with a $ sign.the android data is fine:2447504747412c2c2c2c2c2c2c2c2c2c4d2c2c4d2c2c2a3536da2447504753562c2c2c2a3739da244750524d432c3137353630332e30312c562c2c2c2c2c2c2c3236303831352c2c2c4e2a3732da00024 is $ then G and the 2c's are commas. it directly translates to$GPGGA, with some commas and some sections with data.Something is off, but at least I know data is coming through.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Sep ’15
Reply to Offline compilation of metal shader files
The GLSL optimizer tests project uses this command to validate the output of their glsl -> metal translation, I imagine something like this is what you're looking for?/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/usr/bin/metal metalTemp.metal -o metalTemp.o -std=ios-metal1.0 -Wno-parentheses-equalityEDIT: original reply had a link to glsl optimizer github page but was stuck in moderation, so just google for it if you're interested 😀
Topic: Graphics & Games SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’15
Focus on SKNode in SKView with SpriteKit Scenes
Hi guys,I'm working on porting one of my existing apps to both tvOS and SpriteKit, both of which are new to me.Given these are already new, I'm sticking to what I know and doing the majority in Obj-C and branching into Swift when/if/where I feel comfortable.The problem I'm having is translating how the focus works for a SpriteKit Scene, and adding focus to a SKNode.Anyone have any tips on how this is meant to work?Am I meant to catch and throw from my main UIViewController?I'm spiking out with a simple Game using SpriteKit boilerplate, but the UIFocusEnvironment documentation isn't jelling with me.t
Replies
3
Boosts
0
Views
932
Activity
Sep ’15
URL Schemes on tvOS?
Are there URL schemes for tvOS?
Replies
5
Boosts
0
Views
3.2k
Activity
Sep ’15
Reply to URL Schemes on tvOS?
Yes, tvOS does support Custom URL Schemes.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’15
url scheme for iTunes movies/shows
Has anyone been able to deep link into the iTunes movies or iTunes shows to bring up a particular item?The current iTunes url scheme does not seem to be working.
Replies
1
Boosts
0
Views
791
Activity
Sep ’15
Link to universal search movie item
Is there a way from your tvOS app to link to a universal search movie item (like you get with Siri search).In iOS you're able to launch iTunes to link to an item using a specific URL that will be picked up in safari and launch the native app:- Apple describes the iPhone URL schemes (is there a similar one for tvOS?) https://developer.apple.com/library/ios/featuredarticles/iPhoneURLScheme_Reference/iPhoneURLScheme_Reference.pdfIs there some way to link to a search query and launch via custom URL e.g.`search://Mad%20Max%20Fury%20Road`
Replies
2
Boosts
0
Views
444
Activity
Sep ’15
Reply to To validate Xcode: "in sealed resource is missing or invalid"
Excuse me but I am a novice and I do not speak your language should I use Google Translate to write. I have not figured out if I made a mistake in the test or verisione is invalid. Excuse my English by caveman
Replies
Boosts
Views
Activity
Sep ’15
Reply to To download and execute code
Apple has stated via the review guidelines that only content can be downloaded once an app is in the store, not code.You'd need to download a value, only and let the fixed expression be part of the downloaded app, I guess.But what pricing are you talking about? Perhaps a derived quote scheme...not some purchase within the app?
Replies
Boosts
Views
Activity
Sep ’15
Reply to Removing Developer Name
Apple provides two versions of the 'Individual Developer Account' scheme, where one is for a person and one is for a company. They will need LLC documentation for the latter, and only then can you choose to use a DBA string, etc. versus the person's name used to register the account. Use the Contact Us tree via iTunes Connect to begin that conversation if it applies to your case.
Replies
Boosts
Views
Activity
Sep ’15
iOS9 using custom URL schemes to deep link
So I know Apple is pushing for the usage of universal links, but until we convert to them I would still like to support the deep linking of content to our app through a custom URL scheme. And as suggested I have already registered our apps scheme in the LSApplicationQueriesSchemes key of our Info.plist file. Our issue is specifically with devices running iOS9. If these users simply tap the Play in App button on one of our webpages within the Safari app, they are redirected to the AppStore and to our app's landing page, even though the app is already installed. But if the user taps and holds, they are then presented with a UIActionSheet that offers them the choice to either open the link through our app or copy the link. If they choose to open with our app, it performs the actions expected as devices running IOS8 and earlier. Can't we get this functionality without the need for the long press?Another oddity is if the user navigates to one of our webpages via the Chrome app and taps the Play i
Replies
1
Boosts
0
Views
2.8k
Activity
Sep ’15
Reply to How to display CNContact using CNContactViewController
This displays a new contact in edit-mode just fine:import UIKit import ContactsUI class ViewController: UIViewController, CNContactViewControllerDelegate { let store = CNContactStore() ... override func viewDidLoad() { super.viewDidLoad() / let contact = CNMutableContact() contact.givenName = John contact.familyName = Smith let contactVC = CNContactViewController(forNewContact: contact) self.presentViewController(contactVC, animated: true, completion: nil) } override func didReceiveMemoryWarning() { super.didReceiveMemoryWarning() / } } ... self.store.requestAccessForEntityType(.Contacts, completionHandler: { (granted, error) in if (granted) { do { let completeContact = try self.store.unifiedContactWithIdentifier(contact.identifier, keysToFetch: [CNContactViewController.descriptorForRequiredKeys()]) dispatch_async(dispatch_get_main_queue(), { self.showContact(completeContact) }) } catch let e as NSError { print(e.localizedDescription) print(e.localizedRecoveryOptions) } } })Mine is in a view controller while
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’15
How does the buttons in DemoBots for tvOS work?
I'm building a SpriteKit game and I don't really know how to add focusable buttons. I've tried to understand how they do it in DemoBots but can't seem to grasp it. I get how they make them appear focused, but not how the user input translates to focus changes. Does anyone know?
Replies
2
Boosts
0
Views
670
Activity
Sep ’15