Search Results

Search found 9242 results on 370 pages for 'apple push notifications'.

Page 49/370 | < Previous Page | 45 46 47 48 49 50 51 52 53 54 55 56  | Next Page >

  • Running a Comet server implementation on a Hosted website?

    - by Shishya
    Is it possible to use any of the many implementations of comet like streamhub..etc with a hosted web account from providers like GoDaddy i.e. get a domain and web hosting account from them. I want to host a iphone web application on go daddy, but i need to have comet i.e. data/ notifications pushed to my application. Any other alteranative will also be helpful?

    Read the article

  • iOS: Interpreted code - where do they draw the line?

    - by d7samurai
    Apple's iOS developer guidelines state: 3.3.2 — An Application may not itself install or launch other executable code by any means, including without limitation through the use of a plug-in architecture, calling other frameworks, other APIs or otherwise. No interpreted code may be downloaded or used in an Application except for code that is interpreted and run by Apple’s Documented APIs and built-in interpreter(s). Assuming that downloading data - like XML and images (or a game level description), for example - at run-time is allowed (as is my impression), I am wondering where they draw the line between "data" and "code". Picture the scenario of an app that delivers interactive "presentations" to users (like a survey, for instance). Presentations are added continuously to the server and different presentations are made available to different users, so they cannot be part of the initial app download (this is the whole point). They are described in XML format, but being interactive, they might contain conditional branching of this sort (shown in pseudo form to exemplify): <options id="Gender"> <option value="1">Male</option> <option value="2">Female</option> </options> <branches id="Gender"> <branch value="1"> <image src="Man" /> </branch> <branch value="2"> <image src="Woman" /> </branch> </branches> When the presentation is "played" within the app, the above would be presented in two steps. First a selection screen where the user can click on either of the two choices presented ("Male" or "Female"). Next, an image will be [downloaded dynamically] and displayed based on the choice made in the previous step. Now, it's easy to imagine additional tags describing further logic still. For example, a containing tag could be added: <loop count="3"> <options... /> <branches... /> </loop> The result here being that the selection screen / image screen pair would be sequentially presented three times over, of course. Or imagine some description of a level in a game. It's easy to view that as passive "data", but if it includes, say, several doorways that the user can go through and with various triggers, traps and points attached to them etc - isn't that the same as using a script - or, indeed, interpreted code - to describe options and their conditional responses? Assuming that the interpretation engine for this XML data is already present in the app and that such presentations can only be consumed (not created or edited) in the app, how would this fare against Apple's iOS guidelines? Doesn't XML basically constitute a scripting language (couldn't any interpreted programming language simply be described by XML) in this sense? Would it be OK if the proprietary scripting language (ref the XML used above) was strictly sandboxed (how can they tell?) and not given access to the operating system in any way (but able to download content dynamically - and upload results to the authoring server)? Where does the line go?

    Read the article

  • String loops in Python

    - by Steve Hunter
    I have two pools of strings and I would like to do a loop over both. For example, if I want to put two labeled apples in one plate I'll write: basket1 = ['apple#1', 'apple#2', 'apple#3', 'apple#4'] for fruit1 in basket1: basket2 = ['apple#1', 'apple#2', 'apple#3', 'apple#4'] for fruit2 in basket2: if fruit1 == fruit2: print 'Oops!' else: print "New Plate = %s and %s" % (fruit1, fruit2) However, I don't want order to matter -- for example I am considering apple#1-apple#2 equivalent to apple#2-apple#1. What's the easiest way to code this? I'm thinking about making a counter in the second loop to track the second basket and not starting from the point-zero in the second loop every time.

    Read the article

  • didFinishLaunchingWithOptions not called

    - by user1256477
    I'm having trouble enabling push notifications. with this code I try to enable the notification: - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { [[UIApplication sharedApplication] registerForRemoteNotificationTypes:(UIRemoteNotificationType)(UIRemoteNotificationTypeBadge | UIRemoteNotificationTypeSound | UIRemoteNotificationTypeAlert)]; return YES; } It doesnt work, so I added a breakpoint in the line [[UIApplication sharedApplication] registerForRemoteNotificationTypes:(UIRemoteNotificationType)(UIRemoteNotificationTypeBadge | UIRemoteNotificationTypeSound | UIRemoteNotificationTypeAlert)]; But it seems this part of the code is never execute. why is this not working?

    Read the article

  • Apple publie un rapport sur sa diversité, « en tant que PDG, je ne suis pas satisfait de ces chiffres » a déclaré Tim Cook

    Apple publie un rapport sur sa diversité, « en tant que PDG, je ne suis pas satisfait de ces chiffres » a déclaré Tim Cook Apple a suivi l'exemple de ses concurrents et s'est également décidé à publier les statistiques sur la diversité de ses employés américains. Aux États-Unis, l'entreprise a déclaré que 55% de son effectif est de la race blanche, 15% sont d'origines asiatiques, 11% sont hispaniques et 7% sont noirs. 2 % se revendiquent comme appartenant à deux catégories, 1 % dans la catégorie...

    Read the article

  • Apple met à jour son Mac Mini : un nouveau design, et un démontage plus aisé, mais un prix salé

    Apple vient de dévoilé son nouveau MacMini : Citation: Apple Unveils All New Mac mini CUPERTINO, California?June 15, 2010?Apple® today unveiled a completely redesigned Mac® mini, featuring up to twice the graphics performance, a new HDMI port and a new SD card slot, all in an amazingly compact aluminum enclosure. Mac mini is the world's most energy efficient desktop and starting at $699, is the most affordable way to enjoy Mac OS® X, iLife® or Mac OS X Snow Leopard® Server. ?The sleek, aluminum Mac mini packs gre...

    Read the article

  • iPad : Apple lance un service d'abonnement aux contenus en ligne intégré aux applications de l'App Store et crée la polémique

    Apple lance un service d'abonnement aux contenus en ligne Intégré aux applications de l'App Store et crée la polémique Mise à jour du 16/02/2011 Apple vient d'annoncer le lancement de son service d'abonnement aux divers types de contenus (magazines, journaux, musiques, vidéos) sur l'App Store. Un service inauguré en avant-première avec « The Daily »,un quotidien exclusivement numérique et diffusé sur l'iPad. Les éditeurs de contenus auront la liberté de fixer les prix, la durée et les termes de l'abonnement d'après le document rédigé par un Steve Jobs convalescent mais toujours très impliqué dans ...

    Read the article

  • Les brevets Novell rachetés par une alliance entre Microsoft, Apple, Oracle et EMC d'après l'autorité antitrust Allemande

    Les brevets Novell rachetés par une alliance entre Microsoft, Apple, Oracle et EMC Selon un document publié par l'autorité fédérale anti-trust Allemande Mise à jour du 17/12/2010 par Idelways Après le rachat de Novell par Attachmate (lire ci-avant) et l'acquisition comme partie de cette transaction de 882 brevets par le « CPTN Holdings », présenté en tant que "consortium de sociétés technologiques mené par Microsoft", l'identité des partenaires de Microsoft dans ce rachat vient d'être révélée. Ou plutôt dénichée. Il s'agirait d'Oracle, Apple et EMC (spécialiste des infrastructures et des solution...

    Read the article

  • Apple publie une mise à jour de sécurité qui colmate la faille mise à jour lors du Pwn2Own 2010

    Apple a publié une mise à jour de sécurité pour Mac OS X Leopard et Mac OS X Snow Leopard, que ce soit la version normale ou la version Serveur. Cette mise à jour de sécurité colmate la faille que Charlie Miller avait mis à jour lors du Pwn2own 2010 qui s'était tenu fin mars. Voir http://support.apple.com/kb/HT4131 pour plus d'information sur la mise à jour sécurité 2010-003 Voir également Jusqu'ici, aucun navigateur ne résiste aux attaques des experts en séc...

    Read the article

  • Suivez la keynote d'Apple en live ce soir sur le chat de developpez.com, de l'édition 2012 de la conférence pour développeurs WWDC

    Aujourd'hui démarre l'édition 2012 de la WWDC, la conférence des développeurs Apple, qui durera toute la semaine. Comme à chaque édition de la WWDC, nous vous invitons à nous rejoindre ce soir, aux environs de 19 heures, pour suivre en direct la keynote d'ouverture de cette édition 2012 de la WWDC Apple. Rendez-vous donc ce soir, 19 heures, sur le chat de developpez.com dans un salon dédié pour l'occasion.

    Read the article

  • L'OSI qualifie de "menace potentielle sans précédent" le rachat des brevets de Novell par Microsoft, Oracle et Apple pour l'open-source

    Le rachat des brevets Novell par Microsoft, Apple, Oracle et EMC étudié par la commission Allemande anti-trust Saisie par l'Open Source Initiative Mise à jour du 04/01/2011 par Idelways L'Open Source Initiative (OSI) vient de déposer une requête auprès de la commission fédérale Allemande de lutte contre les cartels et les trusts, une requête dans laquelle elle demande à ce que soit examiné de prêt le rachat des brevets de Novell par le CNTP - un nouveau consortium composé de Microsoft, Apple, Oracle et EMC (pour plus de détails, lire ci-avant) Selon l'OSI, l'opération du rachat de ces quelques 882 brevets représente une...

    Read the article

  • Apple seconde marque la plus chère au monde devant IBM, Google passe devant Microsoft, quatre entreprises IT dans le top 5

    Apple seconde marque la plus chère au monde devant IBM Google passe devant Microsoft, quatre entreprises IT dans le top 5 L'institut Interbrand vient de publier son classement mondial des 100 premières marques pour l'année 2012. Contrairement à la liste du cabinet Millward Brown (pour qui Apple est la marque la plus chère) ou encore celle de General Sentiment (qui attribue la palme d'or à Google), la marque la plus puissante du monde ne serait pas une entreprise IT pour Interbrand. Le cabinet d'analyse identifie Coca-Cola comme la marque ay...

    Read the article

  • Apple publie la Beta 2 d'OS X 10.10 Yosemite qui reprend l'essentiel des nouveautés de la Developper Preview 6

    Apple publie la Beta 2 d'OS X 10.10 Yosemite qui reprend l'essentiel des nouveautés de la Developper Preview 6 Depuis hier soir sur Apple a rendu disponible en téléchargement la bêta 2 de d'OS X 10.10 Yosemite. Un mois seulement après la première bêta, cette mouture reprend l'essentiel des améliorations de l'édition Developer Preview 6, dont disposent les développeurs depuis quelques jours. Parmi les nouveautés reprises de Developer Preview 6 figurent une option dans Safari pour afficher l'adresse...

    Read the article

  • Apple : les voyants sont au vert pour son quatrième trimestre fiscal 2013, les ventes diPhone représentent la moitié de son chiffre d'affaires

    Apple : les voyants sont au vert pour son quatrième trimestre fiscal 2013, les ventes d'iPhone représentent la moitié de son chiffre d'affaires Apple vient de rendre public les résultats financiers de son quatrième exercice fiscal de l'année 2013 qui s'achevait fin septembre de l'année en cours. Le chiffre d'affaires pour ce trimestre s'élève ainsi à 37,5 milliards de dollars, en progression de 6,16% par rapport au trimestre précédent. L'entreprise finit son année fiscale à avec un chiffre...

    Read the article

  • Apple remplace Google Maps par OpenStreetMap dans iPhoto, preuve de la maturité du service libre de cartographie ?

    Apple remplace Google Maps par OpenStreetMap Dans iPhoto iPhoto est un logiciel de gestion d'images de la suite iLife produit par Apple. La société a annoncé le remplacement de Google Maps par OpenStreetMap pour les cartes utilisées dans la géolocalisation des clichés utilisées par ce logiciel. [IMG]http://ftp-developpez.com/gordon-fowler/iPhoto.jpg[/IMG] Les responsables d'OpenStreetMap s'en félicitent, puisque cela prouve que le projet, né en 2004, a maintenant atteint un niveau de maturité suffisant pour intéresser jusqu'aux plus grandes sociétés. Pour rappel, le but du p...

    Read the article

  • iOS 4.3 disponible en version finale, Apple également sort la version 4 de son environnement de développement Xcode

    iOS 4.3 disponible en version finale Apple sort la version 4 de l'environnement de développement Xcode Mise à jour du 10/03/2011 par Idelways Plutôt que prévu, Apple vient de sortir la version finale de l'iOS 4.3 pour iPhone, iPad et iPod Touch. Cette version améliore les performances JavaScript du navigateur Safari et du streaming vidéo via AirPlay. Elle intègre des capacités étendues de partage des librairies iTunes (Home Sharing) et la capacité de transformer son appareil en un véritable hot-spot Wi-Fi pouvant partager sa connexion avec 5 autres périphériques. Pour l'

    Read the article

  • Apple ne payera aucun impôt au Royaume-Uni sur 2012, en France les géants de l'IT ne payeraient que 1 % de l'impôt dont ils devraient s'acquitter

    Apple ne payera pas d'impôt au Royaume-Uni sur 2012 En France les géants de l'IT payent 1 % de ce qu'ils devraient d'après le Conseil National du NumériqueDans la continuité des débats sur l'optimisation fiscale (ou « évasion » selon les points de vue), une information risque de faire grincer quelques dents supplémentaires un peu partout en Europe. Apple n'a payé aucun impôt sur les sociétés cette année (exercice 2012) au Royaume-Uni.Comme d'habitude, les mécanismes de transfert de bénéfices via des jeux de filiales basées dans des paradis fiscaux et de facturation de droits d'exploitation de propriétés intellectuelles sont montrés du doigt...

    Read the article

  • WWDC : Apple présente OS X 10.10 avec un nouveau design et plusieurs nouveautés, Yosemite fait un pas de plus dans le rapprochement avec iOS

    WWDC : Apple dévoile OS X 10.10 avec un nouveau design et plusieurs nouveautés Yosemite fait un pas de plus dans le rapprochement avec iOSOS X aura également droit à une mise jour. À la suite d'iOS 8, Apple a présenté la prochaine version de son système d'exploitation pour les ordinateurs Mac.Baptisé « Yosemite », OS X 10.10 introduit une nouvelle interface utilisateur, une intégration plus poussée avec les dispositifs sous iOS, mais également un lot de nouvelles fonctionnalités pour offrir un...

    Read the article

  • WWDC : Apple dévoile iOS 8 avec son SDK qui introduit plus de 4 000 nouvelles API, la version bêta disponible pour les développeurs

    WWDC : Apple dévoile iOS 8 avec son SDK qui introduit plus de 4 000 nouvelles API la version bêta disponible pour les développeursLe WWDC bat son plein. Apple a présenté lors de son événement dédié aux développeurs la prochaine version majeure de son système d'exploitation pour mobile iOS.iOS 8 introduit un nombre important de nouvelles fonctionnalités et améliorations pour séduire encore plus les fans des iDevices qui reposent sous le système d'exploitation.Son centre de notifications a été revu...

    Read the article

  • Time Machine is getting stuck at "Preparing to Back Up" and my Trash isn't emptying

    - by zarose
    I have encountered two separate problems, but I am putting them in the same question in case they are related. First, my Trash would not empty. It seems to be getting stuck on certain files, because I will reset my Macbook and some of the files will be deleted, and then if I remove a file or two at random, more can be deleted. Some of these files had strange characters in their names. I tried changing the names to single characters, but this did not help. Next, I attempted to backup my Macbook using Time Machine. I plugged in the HDD I've been using for this, but every time I try to start the backup, Time Machine gets stuck at "Preparing to Back Up". I definitely need to know how to fix the Time Machine problem, but I am curious how to solve the trash problem as well, and whether or not these problems are related. EDIT: Console.app logged the following this morning before I left on a trip. I did not bring the HDD with me. 6/5/12 7:41:28.312 AM com.apple.backupd: Starting standard backup 6/5/12 7:41:46.877 AM com.apple.backupd: Error -35 while resolving alias to backup target 6/5/12 7:41:58.368 AM com.apple.backupd: Backup failed with error: 19 6/5/12 7:59:08.999 AM com.apple.backupd: Starting standard backup 6/5/12 7:59:10.187 AM com.apple.backupd: Backing up to: /Volumes/Seagate 3TB Mac/Backups.backupdb 6/5/12 7:59:13.308 AM com.apple.backupd: Event store UUIDs don't match for volume: Macintosh HD 6/5/12 7:59:13.331 AM com.apple.backupd: Event store UUIDs don't match for volume: Blank 6/5/12 7:59:13.683 AM com.apple.backupd: Deep event scan at path:/ reason:must scan subdirs|new event db| 6/5/12 8:23:31.807 AM com.apple.backupd: Backup canceled. 6/5/12 8:23:33.373 AM com.apple.backupd: Stopping backup to allow backup destination disk to be unmounted or ejected. 6/5/12 9:51:21.572 PM com.apple.backupd: Starting standard backup 6/5/12 9:51:22.515 PM com.apple.backupd: Error -35 while resolving alias to backup target 6/5/12 9:51:32.741 PM com.apple.backupd: Backup failed with error: 19

    Read the article

  • Java and AppStore receipt verification

    - by user1672461
    I am trying to verify a payment receipt on server side. I am getting a {"status":21002, "exception":"java.lang.IllegalArgumentException"} in return Here is the code: private final static String _sandboxUriStr = "https://sandbox.itunes.apple.com/verifyReceipt"; public static void processPayment(final String receipt) throws SystemException { final BASE64Encoder encoder = new BASE64Encoder(); final String receiptData = encoder.encode(receipt.getBytes()); final String jsonData = "{\"receipt-data\" : \"" + receiptData + "\"}"; System.out.println(receipt); System.out.println(jsonData); try { final URL url = new URL(_productionUriStr); final HttpURLConnection conn = (HttpsURLConnection) url.openConnection(); conn.setRequestMethod("POST"); conn.setDoOutput(true); final OutputStreamWriter wr = new OutputStreamWriter(conn.getOutputStream()); wr.write(jsonData); wr.flush(); // Get the response final BufferedReader rd = new BufferedReader(new InputStreamReader(conn.getInputStream())); String line; while ((line = rd.readLine()) != null) { System.out.println(line); } wr.close(); rd.close(); } catch (IOException e) { throw new SystemException("Error when trying to send request to '%s', %s", _sandboxUriStr, e.getMessage()); } } My receipt looks like this: {\n\t"signature" = "[exactly_1320_characters]";\n\t"purchase-info" = "[exactly_868_characters]";\n\t"environment" = "Sandbox";\n\t"pod" = "100";\n\t"signing-status" = "0";\n} Receipt data with a BASE64 encoded receipt looks like this: Blockquote {"receipt-data" : "[Block_of_chars_76x40+44=3084_chars_total]"} Does someone have an Idea, or sample code how can I get from receipt string to reply JSON, mentioned here: [http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/StoreKitGuide/VerifyingStoreReceipts/VerifyingStoreReceipts.html#//apple_ref/doc/uid/TP40008267-CH104-SW1]? Thank you

    Read the article

  • mercurial .hgrc notify hook

    - by Eeyore
    Could someone tell me what is incorrect in my .hgrc configuration? I am trying to use gmail to send a e-mail after each push and/or commit. .hgrc [paths] default = ssh://www.domain.com/repo/hg [ui] username = intern <[email protected]> ssh="C:\Program Files (x86)\Mercurial\plink.exe" -ssh -i "C:\Program Files (x86)\Mercurial\key.pub" [extensions] hgext.notify = [hooks] changegroup.notify = python:hgext.notify.hook incoming.notify = python:hgext.notify.hook [email] from = [email protected] [smtp] host = smtp.gmail.com username = [email protected] password = sure port = 587 tls = true [web] baseurl = http://dev/... [notify] sources = serve push pull bundle test = False config = /path/to/subscription/file template = \ndetails: {baseurl}{webroot}/rev/{node|short}\nchangeset: {rev}:{node|short}\nuser: {author}\ndate: {date|date}\ndescription:\n{desc}\n maxdiff = 300 Error Incoming comand failed for P/project. running ""C:\Program Files (x86)\Mercurial\plink.exe" -ssh -i "C:\Program Files (x86)\Mercurial\key.pub" [email protected] "hg -R repo/hg serve --stdio"" sending hello command sending between command remote: FATAL ERROR: Server unexpectedly closed network connection abort: no suitable response from remote hg! , error code: -1 running ""C:\Program Files (x86)\Mercurial\plink.exe" -ssh -i "C:\Program Files (x86)\Mercurial\key.pub" [email protected] "hg -R repo/hg serve --stdio"" sending hello command sending between command remote: FATAL ERROR: Server unexpectedly closed network connection abort: no suitable response from remote hg!

    Read the article

  • An "elegant" way of identifying a field?

    - by Alix
    Hi. I'm writing a system that underlies programmer applications and that needs to detect their access to certain data. I can mostly do so with properties, like this: public class NiceClass { public int x { get; set; } } Then I go in and tweak the get and set accessors so that they handle the accesses appropriately. However this requires that the users (application programmers) define all of their data as properties. If the users want to use pre-existing classes that have "normal" fields (as opposed to properties), I cannot detect those accesses. Example: public class NotSoNiceClass { public int y; } I cannot detect accesses to y. However, I want to allow the use of pre-existing classes. As a compromise the users are responsible for notifying me whenever an access to that kind of data occurs. For example: NotSoNiceClass notSoNice; ... Write(notSoNice.y, 0); // (as opposed to notSoNice.y = 0;) Something like that. Believe me, I've researched this very thoroughly and even directly analysing the bytecode to detect accesses isn't reliable due to possible indirections, etc. I really do need the users to notify me. And now my question: could you recommend an "elegant" way to perform these notifications? (Yes, I know this whole situation isn't "elegant" to begin with; I'm trying not to make it worse ;) ). How would you do it? This is a problem for me because actually the situation is like this: I have the following class: public class SemiNiceClass { public NotSoNiceClass notSoNice { get; set; } public int z { get; set; } } If the user wants to do this: SemiNiceClass semiNice; ... semiNice.notSoNice.y = 0; They must instead do something like this: semiNice.Write("notSoNice").y = 0; Where Write will return a clone of notSoNice, which is what I wanted the set accessor to do anyway. However, using a string is pretty ugly: if later they refactor the field they'll have to go over their Write("notSoNice") accesses and change the string. How can we identify the field? I can only think of strings, ints and enums (i.e., ints again). But: We've already discussed the problem with strings. Ints are a pain. They're even worse because the user needs to remember which int corresponds to which field. Refactoring is equally difficult. Enums (such as NOT_SO_NICE and Z, i.e., the fields of SemiNiceClass) ease refactoring, but they require the user to write an enum per class (SemiNiceClass, etc), with a value per field of the class. It's annoying. I don't want them to hate me ;) So why, I hear you ask, can we not do this (below)? semiNice.Write(semiNice.notSoNice).y = 0; Because I need to know what field is being accessed, and semiNice.notSoNice doesn't identify a field. It's the value of the field, not the field itself. Sigh. I know this is ugly. Believe me ;) I'll greatly appreciate suggestions. Thanks in advance! (Also, I couldn't come up with good tags for this question. Please let me know if you have better ideas, and I'll edit them)

    Read the article

  • Adding iPod Support to (previously) iPhone Only App

    - by rjstelling
    When I started on my current project, there was already an App in the App Store. This App was iPhone only. My first task was to test and build a version that also ran on an iPod Touch. About 3 weeks ago Apple removed the option on iTunes connect to set the device requirements. And sent an email out to all developers: "The App Store requires that you provide metadata about your application before submitting it. While most of this metadata is specified using the iPhone Developer Program Portal, the process for selecting device-related dependencies in iTunes Connect is no longer available. Instead, if your app relies on features that are specific to a device, such as the compass on iPhone 3GS, add the UIRequiredDeviceCapabilities key to your app's Info.plist file to indicate the specific hardware feature required." When I compiled the iPod compatible version I set the device requirements (UIRequiredDeviceCapabilities) in the info.plist to: location-services (gps or skyhook) wi-fi (any device) However, as the App was originally uploaded and the option for "iPhone only" set in iTunes connect this appears to be the default. The kicker is, because Apple have removed this feature there is no way to change it! Has anyone come up against this problem? And how did you solve it? Is it possible I have incorrect values in UIRequiredDeviceCapabilities? UPDATE: The app will run fine on a iPod Touch if installed as a development version via Xcode. The problem is on the App Store it is listed as iPhone only and when iPod Touch users search in the App store no results are returned.

    Read the article

  • Determine whether app is communicating with APNS sandbox or production environment

    - by goldierox
    I have push notifications set up in my app. I'm trying to determine whether the device token I've received from APNS in the application:didRegisterForRemoteNotificationsWithDeviceToken: method came from the sandbox or development environment. If I can distinguish which environment initialized the token, I'll be able to tell my server to which environment to send the push notification. I've tried using the DEBUG macro to determine this, but I've seen some strange behavior with this and don't trust it to be 100% correct. #ifdef DEBUG BOOL isProd = YES; #else BOOL isProd = NO; #endif Ideally, I'd be able to examine the aps-environment entitlement (value is Development or Production) in code, but I'm not sure if this is even possible. What's the proper way to determine whether your app is communicating with the APNS sandbox or production environments? I'm assuming that the server needs to know this in the first place. Please correct me if this is assumption is incorrect. Edited: Apple's documentation on Provider Communication with APNS details the difference between communicating with the sandbox and production. However, the documentation doesn't give information on how to be consistent with registering the token (from the iOS client app) and communicating with the server.

    Read the article

< Previous Page | 45 46 47 48 49 50 51 52 53 54 55 56  | Next Page >