Search results for

“translate scheme”

6,658 results found

Post

Replies

Boosts

Views

Activity

ERROR ITMS-900158 while submitting application on itunes
ERROR ITMS-900158 :The following URL scheme found in your app are not in correct format: http://luvit.symphony-software.com/components/com_luvit/paypal/luvit.php . URL schemes need to begin with an alphabetic character, and be comprised of alphanumeric characters, the period, the hyphen or the plus sign only.Please see RFC1738 for more detail.Please help me with this issue as im not getting where im going wrong.
1
0
1.5k
Oct ’15
Reply to In app purchases in TVML apps
I managed to handle this in Objective-C. I've made an actual implementation here, but here's a sample of what it might look like:First let's take a look at the header file:// MyClass.h #import <JavaScriptCore/JavaScriptCore.h> // This is where JSExport lies /* * This is where the magic happens. Any method declared inside a JSExport protocol * will be translated into JavaScript. Quite useful. */ @protocol MyClassJavascriptMethods <JSExport> - (BOOL) method; - (NSString*) methodWithAnArgument:(NSDictionary*)argument; @end /* * This class must implement the above protocol */ @interface MyClass : NSObject <..., MyClassJavaScriptMethods> @endNotice the protocol, it's where the Obj-C - JS binding actually happens. Now let's move over to the implementation file:// MyClass.m #import MyClass.h @implementation MyClass // implement the MyClassJavascriptMethods protocol: - (BOOL) method { // do stuff } - (NSString*) methodWithAnArgument:(NSDictionary*)argument { // do some other stuff } @endNow
Topic: App & System Services SubTopic: General Tags:
Oct ’15
Migrate Data from Old DC'd App to Different App
I have an old app (worked just fine with iOS 3 - 8) last updated in 2012 that uses a plist for data. I have since removed that old app from sale because iOS 9 broke it (crashes on launch) and I have no plans to upgrade it since I have another new, very similar, more powerful app in the Store.The newer app uses Core Data and can export and import (via UTI schemes) the entire Core Data database in order to backup/share the database.Users of the old app want to transfer their historic data to the new app.The only way I can think of to accommodate the transfer of data from the old app to the new app, is to create an update of the old app with only one function on one screen that will convert the plist to a Core Data database and email it so it can be imported by the newer app.Of course that “strategy” may not be allowed by Apple and could allow folks to purchase a non-functioning app and those with a functioning app (< iOS 9) with an update that destroys their app and only exports a database.So, are t
Topic: UI Frameworks SubTopic: UIKit Tags:
0
0
318
Oct ’15
Reply to 6S model problems, older OpenGL1.1 app?
Our data was in a C++ class variable that was a struct which had .x, .y, .z ...we were not init'ing the .z of the struct butthen passing the .x .y .z values to glTranslate. So it would translate to outer space and get Z-clipped (my guess).The uninit'd variable checker in the compiler may not be catching this case.Once I fixed it, I didnt have much time to trace the why, etc... but I suspect the root cause is that class variables are notguaranteed to be zeroed in C++. I think this is Not like ObjC/NS, where the default init] method does set class variables to zero (by default) in an NSObject.
Topic: Graphics & Games SubTopic: General Tags:
Oct ’15
URL Errors
I'm having issues with openurl: For some reason I'm getting this error. Would anyone know how to fix that?LaunchServices: ERROR: There is no registered handler for URL scheme (null)
Topic: UI Frameworks SubTopic: UIKit Tags:
1
0
467
Oct ’15
Reply to Xcode 7 is 32 bit supported?
I was able to make a brand new OSX project in Xcode 7.1 and build it as 32-bit by changing only two build settings. Specifically Architectures (32-bit Intel) and Automatic Reference Counting (No). So it is still possible to do this. Getting your legacy project to build probably involves some build settings and scheme changes.
Oct ’15
How can I prevent our Mobile, AL subdomain from appearing in Suggested Websites?
For our site, we have a domain URL scheme in the form of: city.domain.com. When our visitors search for us in iOS Safari, no matter where they are located, the Suggested Website is mobile.domain.com. This is not our mobile site, but our homepage for Mobile, Alabama, USA, and it is causing problems for our users located in Mobile. We have had this URL scheme since 2005.How can we prevent the Suggested Website from suggesting the incorrect site?
0
0
197
Oct ’15
Reply to SpriteKit Programming Guide in Swift?
Probably you are not going to find any problem to use this tutorial in Objective-C to apply to Swift because this guide is conceptual and about the SDK not specific for the language, also it's not that hard to translate from Objective-C to Swift.I started to develop in Swift following the Apple Introduction during the beta of iOS 7 and it was complete.I trully recommend tutorials from http://www.raywenderlich.com/, they are straight forward and very good for beginners.If you have any problem post your questions in the Apple Forum and people could help you.
Topic: Graphics & Games SubTopic: SpriteKit Tags:
Oct ’15
Reply to Month/Day/Year Order from Locale?
Sounds like something that should be in the WatchOS framework 😉I guess I don't understand calendars and locale well enough to comprehend your hints/suggestions. When I created/forced a custom locale for gregorian calendars, the order of the Month/Day (I'm going to leave the year last always) never changes when I go from US to Germany region in the Run scheme. I did come up with *something* that seems to work (for US, Germany, France, Mexico, and Australia???).NSString *gregorianIdentifier = [NSLocale localeIdentifierFromComponents:@{ NSLocaleCalendar : [NSCalendar calendarWithIdentifier:NSCalendarIdentifierGregorian ] }]; NSLocale *gregorianLocale = [NSLocale localeWithLocaleIdentifier:gregorianIdentifier]; // Don't know why I need this??? // NSDictionary *gregorianComponents = [NSLocale componentsFromLocaleIdentifier:gregorianIdentifier]; NSDateFormatter *dateFormatter = [NSDateFormatter new]; // dateFormatter.dateFormat = [NSDateFormatter dateFormatFromTemplate: @MMM d options:0 locale:gregorianLo
Oct ’15
Reply to Month/Day/Year Order from Locale?
Hmmm. When I change the Application Region in the Scheme (e.g. to France) and place this code in the viewDidLoad of another iOS application, the currentLocale is en_FR and the localizedString is 29 Oct (and this is why I think this code works for my purposes). But, when I place this same code in the WatchKit extension awakeWithContext (and change the Application Region to France again in the Watchkit App Scheme), and Run the watchkit app, the currentLocale is en_US and the result is Oct 29. Not what I expected. Have not tried this on the device though (haven't figured that out yet 😉.
Oct ’15
ERROR ITMS-900158 while submitting application on itunes
ERROR ITMS-900158 :The following URL scheme found in your app are not in correct format: http://luvit.symphony-software.com/components/com_luvit/paypal/luvit.php . URL schemes need to begin with an alphabetic character, and be comprised of alphanumeric characters, the period, the hyphen or the plus sign only.Please see RFC1738 for more detail.Please help me with this issue as im not getting where im going wrong.
Replies
1
Boosts
0
Views
1.5k
Activity
Oct ’15
Rejected PLA 3.3.1
Apple says:Specifically, we found that this app checks for all apps installed on this device by scanning all known URL schemes using a service called iHasApp.I dont use iHasApp, what to do?Thanks...
Replies
3
Boosts
0
Views
457
Activity
Oct ’15
Reply to In app purchases in TVML apps
I managed to handle this in Objective-C. I've made an actual implementation here, but here's a sample of what it might look like:First let's take a look at the header file:// MyClass.h #import <JavaScriptCore/JavaScriptCore.h> // This is where JSExport lies /* * This is where the magic happens. Any method declared inside a JSExport protocol * will be translated into JavaScript. Quite useful. */ @protocol MyClassJavascriptMethods <JSExport> - (BOOL) method; - (NSString*) methodWithAnArgument:(NSDictionary*)argument; @end /* * This class must implement the above protocol */ @interface MyClass : NSObject <..., MyClassJavaScriptMethods> @endNotice the protocol, it's where the Obj-C - JS binding actually happens. Now let's move over to the implementation file:// MyClass.m #import MyClass.h @implementation MyClass // implement the MyClassJavascriptMethods protocol: - (BOOL) method { // do stuff } - (NSString*) methodWithAnArgument:(NSDictionary*)argument { // do some other stuff } @endNow
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’15
Migrate Data from Old DC'd App to Different App
I have an old app (worked just fine with iOS 3 - 8) last updated in 2012 that uses a plist for data. I have since removed that old app from sale because iOS 9 broke it (crashes on launch) and I have no plans to upgrade it since I have another new, very similar, more powerful app in the Store.The newer app uses Core Data and can export and import (via UTI schemes) the entire Core Data database in order to backup/share the database.Users of the old app want to transfer their historic data to the new app.The only way I can think of to accommodate the transfer of data from the old app to the new app, is to create an update of the old app with only one function on one screen that will convert the plist to a Core Data database and email it so it can be imported by the newer app.Of course that “strategy” may not be allowed by Apple and could allow folks to purchase a non-functioning app and those with a functioning app (< iOS 9) with an update that destroys their app and only exports a database.So, are t
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
0
Boosts
0
Views
318
Activity
Oct ’15
Reply to 6S model problems, older OpenGL1.1 app?
Our data was in a C++ class variable that was a struct which had .x, .y, .z ...we were not init'ing the .z of the struct butthen passing the .x .y .z values to glTranslate. So it would translate to outer space and get Z-clipped (my guess).The uninit'd variable checker in the compiler may not be catching this case.Once I fixed it, I didnt have much time to trace the why, etc... but I suspect the root cause is that class variables are notguaranteed to be zeroed in C++. I think this is Not like ObjC/NS, where the default init] method does set class variables to zero (by default) in an NSObject.
Topic: Graphics & Games SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’15
URL Errors
I'm having issues with openurl: For some reason I'm getting this error. Would anyone know how to fix that?LaunchServices: ERROR: There is no registered handler for URL scheme (null)
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
1
Boosts
0
Views
467
Activity
Oct ’15
Reply to FBSOpenApplicationErrorDomain error 1
I actually solved my issue. Turns out in my scheme I had environment variables checked for run time arguments but no variables being passed in. By unchecking this my app is now running on the simulator again.
Replies
Boosts
Views
Activity
Oct ’15
Reply to Does Apple approve Apps bearing identical names from different developers?
as I said in my other reply, the names cannot be the same and in factthey aren't in this case. Yours is DJ2 theirs though it translates to DJ2is in Korean and has a completely different meaning. You might complainabout the branding but unless you own a trademark or patent on it you'retilting at windmills.
Replies
Boosts
Views
Activity
Oct ’15
Reply to Xcode 7 is 32 bit supported?
I was able to make a brand new OSX project in Xcode 7.1 and build it as 32-bit by changing only two build settings. Specifically Architectures (32-bit Intel) and Automatic Reference Counting (No). So it is still possible to do this. Getting your legacy project to build probably involves some build settings and scheme changes.
Replies
Boosts
Views
Activity
Oct ’15
How can I prevent our Mobile, AL subdomain from appearing in Suggested Websites?
For our site, we have a domain URL scheme in the form of: city.domain.com. When our visitors search for us in iOS Safari, no matter where they are located, the Suggested Website is mobile.domain.com. This is not our mobile site, but our homepage for Mobile, Alabama, USA, and it is causing problems for our users located in Mobile. We have had this URL scheme since 2005.How can we prevent the Suggested Website from suggesting the incorrect site?
Replies
0
Boosts
0
Views
197
Activity
Oct ’15
Why don't “Start Dictation…” and “Emoji & Symbols” items in OS X Edit menu appear in .xliff language strings file?
We are translating our Objective-C Mac app into several languages and noticed that when we export the English .xliff app language strings file these two Edit menu items are missing:Start Dictation…Emoji & SymbolsDoes this mean El Capitan will translate them automatically?
Replies
1
Boosts
0
Views
444
Activity
Oct ’15
is it esay to make a simple multi language app?
I am working on an translation app for my native tongue and I wanted to know if anyone has done that or know how to do it? I plan on using core data to store my information and using nsfetch
Replies
0
Boosts
0
Views
125
Activity
Oct ’15
Reply to SpriteKit Programming Guide in Swift?
Probably you are not going to find any problem to use this tutorial in Objective-C to apply to Swift because this guide is conceptual and about the SDK not specific for the language, also it's not that hard to translate from Objective-C to Swift.I started to develop in Swift following the Apple Introduction during the beta of iOS 7 and it was complete.I trully recommend tutorials from http://www.raywenderlich.com/, they are straight forward and very good for beginners.If you have any problem post your questions in the Apple Forum and people could help you.
Topic: Graphics & Games SubTopic: SpriteKit Tags:
Replies
Boosts
Views
Activity
Oct ’15
Reply to Month/Day/Year Order from Locale?
Sounds like something that should be in the WatchOS framework 😉I guess I don't understand calendars and locale well enough to comprehend your hints/suggestions. When I created/forced a custom locale for gregorian calendars, the order of the Month/Day (I'm going to leave the year last always) never changes when I go from US to Germany region in the Run scheme. I did come up with *something* that seems to work (for US, Germany, France, Mexico, and Australia???).NSString *gregorianIdentifier = [NSLocale localeIdentifierFromComponents:@{ NSLocaleCalendar : [NSCalendar calendarWithIdentifier:NSCalendarIdentifierGregorian ] }]; NSLocale *gregorianLocale = [NSLocale localeWithLocaleIdentifier:gregorianIdentifier]; // Don't know why I need this??? // NSDictionary *gregorianComponents = [NSLocale componentsFromLocaleIdentifier:gregorianIdentifier]; NSDateFormatter *dateFormatter = [NSDateFormatter new]; // dateFormatter.dateFormat = [NSDateFormatter dateFormatFromTemplate: @MMM d options:0 locale:gregorianLo
Replies
Boosts
Views
Activity
Oct ’15
Reply to Month/Day/Year Order from Locale?
Hmmm. When I change the Application Region in the Scheme (e.g. to France) and place this code in the viewDidLoad of another iOS application, the currentLocale is en_FR and the localizedString is 29 Oct (and this is why I think this code works for my purposes). But, when I place this same code in the WatchKit extension awakeWithContext (and change the Application Region to France again in the Watchkit App Scheme), and Run the watchkit app, the currentLocale is en_US and the result is Oct 29. Not what I expected. Have not tried this on the device though (haven't figured that out yet 😉.
Replies
Boosts
Views
Activity
Oct ’15