Search Results

Search found 3754 results on 151 pages for 'ios simulator'.

Page 42/151 | < Previous Page | 38 39 40 41 42 43 44 45 46 47 48 49  | Next Page >

  • iPhone simulator app crashes when appending a string

    - by Franklyn Weber
    Hi, I'm a complete novice, so I'm probably missing something really easy, but I can't get my string appending to work. I add the 3rd character to typedDigit & it crashes - the method is called fine and typedDigit will get to 2 characters long. I think everything is declared properly in the header file. Code is - -(IBAction)digitPressed:(UIButton *)sender { NSString *digit = [[sender titleLabel] text]; // in this case, "0" - "9" if (userIsInMiddleOfTyping) { // typedDigit is already at least 1 character long typedDigit = [typedDigit stringByAppendingString:digit]; } else { // first character of typedDigit typedDigit = digit; userIsInMiddleOfTyping = YES; } } Many thanks for any help!

    Read the article

  • Iphone xcode simulator crashes when I move up and down on a table row

    - by Frames84
    I can't get my head round this. When the page loads, everything works fine - I can drill up and down, however 'stream' (in the position I have highlighted below) becomes not equal to anything when I pull up and down on the tableview. But the error is only sometimes. Normally it returns key/pairs. If know one can understand above how to you test for // (int)[$VAR count]} key/value pairs in a NSMutableDictionary object - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *FirstLevelCell = @"FirstLevelCell"; UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:FirstLevelCell]; if(cell == nil) { cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:FirstLevelCell] autorelease]; } NSInteger row = [indexPath row]; //NSDictionary *stream = (NSDictionary *) [dataList objectAtIndex:row]; NSString *level = self.atLevel; if([level isEqualToString:@"level2"]) { NSMutableDictionary *stream = [[NSMutableArray alloc] init]; stream = (NSMutableDictionary *) [dataList objectAtIndex:row]; // stream value is (int)[$VAR count]} key/value pairs if ([stream valueForKey:@"title"] ) { cell.textLabel.text = [stream valueForKey:@"title"]; cell.textLabel.numberOfLines = 2; cell.textLabel.font =[UIFont systemFontOfSize:10]; NSString *detailText = [stream valueForKey:@"created"]; cell.detailTextLabel.numberOfLines = 2; cell.detailTextLabel.font= [UIFont systemFontOfSize:9]; cell.detailTextLabel.text = detailText; NSString *str = @"http://www.mywebsite.co.uk/images/stories/Cimex.jpg"; NSData *imageURL = [[NSData alloc] initWithContentsOfURL:[NSURL URLWithString:str]]; UIImage *newsImage = [[UIImage alloc] initWithData:imageURL]; cell.imageView.image = newsImage; [stream release]; } } else { cell.textLabel.text = [dataList objectAtIndex:row]; } return cell; } Thanks for your time

    Read the article

  • Read Call History from iPhone on iOS 5 and above

    - by Sandeep Dhama
    I am developing an application and need to read the users call history from iPhone.I have go though all the forums and google it and found that we can get the records from teh callHistory sqlite database by "private/var/root/Library/CallHistory/call_history.db". But this path is not working from iOS 5 and above. Seems like apple has changed all their database path and structure so that no one can accees it. I have also seen some of the application on iTunes who are capable of getting the users call history like:-https://itunes.apple.com/us/app/callog/id327883585?mt=8 I have also check a mac desktop utility called "WonderShare Dr.Fone" which will fetch all the data from your iPhone like call history messages, notes , etc.How this utility is fetching the call history records and other details? If their is any API or private APIs by which i can get the callHistory data path please let me know.

    Read the article

  • Tell Xcode to ignore a header for some targets?

    - by William Jockusch
    I have an Xcode project with a mac target and an iOS target. The project contains a class IPhoneOnlyClass which is used in the iOS target only. I have unchecked IPhoneOnlyClass.m from the mac target so it doesn't compile that file. Now IphoneOnlyClass.h contains the line #import <GameKit/GameKit.h> When I am compiling for the mac target, Xcode gives me an error: error: GameKit/GameKit.h: No such file or directory I could get around this with a #ifdef, but is there a better way? I'd rather tell Xcode to ignore the header altogether when compiling the mac target.

    Read the article

  • Is directly executing SQL bad app design?

    - by Michael Lowman
    I'm developing an iOS application that's a manager/viewer for another project. The idea is the app will be able to process the data stored in a database into a number of visualizations-- the overall effect being similar to cacti. I'm making the visualizations fully user-configurable: the user defines what she wants to see and adds restrictions. She might specify, for instance, to graph a metric over the last three weeks with user accounts that are currently active and aren't based in the United States. My problem is that the only design I can think of is more or less passing direct SQL from the iOS app to the backend server to be executed against the database. I know it's bad practice and everything should be written in terms of stored procedures. But how else do I maintain enough flexiblity to keep fully user-defined queries? While the application does compose the SQL, direct SQL is never visible or injectable by the user. That's all abstracted away in UIDateTimeChoosers, UIPickerViews, and the like.

    Read the article

  • How should I get Xcode to link an iOS project that uses a C++ static library

    - by user1681572
    Using Xcode, I've written a Cocoa Touch static library, mainly in C++. It exposes a C interface for the benefit of Objective-C client code. I have a client iOS app that uses it, and everything works and runs as expected, except that I found I needed to include a minimal .cpp file in the client project to get the link to succeed. Otherwise I get C++-related unresolved symbols, e.g. operator new(unsigned long). The above hack is easy and effective, and so I guess I'm not breaking any laws, but is there a proper way to eliminate my linker errors?

    Read the article

  • How to close IOs?

    - by blackdog
    when i managed IO, i found a problem. i used to close it like this: try { // my code } catch (Exception e) { // my code } finally{ if (is != null) { is.close(); } } but the close method also would throw exception. if i have more than one IO, i have to close all of them. so the code maybe like this: try { // my code } catch (Exception e) { // my code } finally{ if (is1 != null) { is1.close(); } if(is2 != null{ is2.close(); } // many IOs } if is1.close() throws an exception, is2, is3 would not close itself. So i have to type many try-catch-finally to control them. is there other way to solve the problem?

    Read the article

  • Objective-C FontAwesome

    - by sdover102
    I'm Attempting to get FontAwesome up and running on an iOS app and could use a little assistance. I have the following code for iOS: UIBarButtonItem * viewDeckButton = [[UIBarButtonItem alloc] initWithTitle:@"\uf0c9" style:UIBarButtonItemStyleBordered target:self.viewDeckController action:@selector(toggleLeftView)]; NSDictionary * customTextAttrs = [NSDictionary dictionaryWithObjectsAndKeys: [UIFont fontWithName:@"FontAwesome" size:14.0], UITextAttributeFont, nil]; [viewDeckButton setTitleTextAttributes:customTextAttrs forState:UIControlStateNormal]; @"\uf0c9" corresponds to the css class, icon-reorder. The font appears to be installed on my system (see http://cl.ly/image/2F1x1z2H0i2N). I'm getting the standard box character, as if the font is not loaded (see http://madmonkdev.com/badchar.png). Any help would be appreciated.

    Read the article

  • Trying to limit IMAP folders/mailboxes my iPhone/iPad sees

    - by QuantumMechanic
    (Note: I am using dovecot 1.0.10 on Ubuntu 8.04.4 LTS. Yes, I know I need to upgrade before next year :) (Note: The SMTP/IMAP server in question only serves my family, so there's only a very few users. Certainly what I propose below, even it it works, would be a logistical nightmare with any significant number of users). I have noticed (and have confirmed via google) that the iOS mail app is terrible in its handling of IMAP subscriptions, namespaces, etc. For example, my iPhone and iPad will see EVERYTHING (all mailboxes, folders, etc.), whereas clients like Thunderbird, alpine, etc. only see what I tell them to see. This makes it an incredible pain to move mail between mailboxes because I have to scroll through a gazillion things. The mail_location in dovecot.conf is: mail_location = mbox:%h/Mail/:INBOX=/var/mail/%u To get around this, I've been considering doing the following for user foo: Create a dovecot userdb with a foo-ios virtual user in it, whose UID is identical to that of the real (in /etc/passwd) foo user and with a homedir of /home/foo-ios. ln -s /var/mail/foo /var/mail/foo-ios mkdir -p /home/foo-ios/Mail cd /home/foo-ios/Mail ln -s /home/foo/Mail/mailbox-i-want-visible mailbox-i-want-visible Make symlinks for the rest of limited set of mailboxes/folders I want visible to the iOS mail app. chown -R foo:foo /home/foo-ios Change iOS mail app settings to log in as user foo-ios instead of user foo. Will this work or will there be some index/file corruption hell because there will be two sets of indexes (one set living in /home/foo/Mail/.imap and other set living in /home/foo-ios/Mail/.imap) indexing the same underlying mbox files? And I'd be more than happy to hear of a better way to do this with dovecot! (Or to hear that dovecot 2.x works better with iOS devices).

    Read the article

  • WWDC : 130 millions des nouveaux consommateurs iOS étaient au préalable sur Android, ils auraient «acheté un téléphone Android par erreur» selon Cook

    WWDC : la plupart des 130 millions de nouveaux consommateurs iOS étaient au préalable sur Android, d'après Tim Cook ils auraient « acheté un téléphone Android par erreur » C'est dans une atmosphère détendue et une pointe d'humour que Tim Cook, le patron de Cupertino, s'est adressé à l'assemblée de développeurs. « Plus de 130 millions de clients qui ont acheté un dispositif iOS sur les 12 mois qui se sont écoulés devenaient propriétaires de leur tout premier appareil Apple » a-t-il expliqué Tim...

    Read the article

  • Un nouveau navigateur de Mozilla pour iOS ? Il pourrait s'inspirer d'Opera Mini

    Un nouveau navigateur de Mozilla pour iOS ? Il pourrait s'inspirer d'Opera Mini, mais rien ne semble sûr Matt Brubeck, un des développeurs du navigateur Firefox Mobile (aussi connu sous le nom de Fennec), s'est exprimé sur la situation du navigateur Firefox dans les environnements iOS d'Apple et se faisant, a amorcé une rumeur sur l'éventuel développement d'un autre navigateur de Mozilla pour les systèmes mobiles d'Apple. En réponse à une question posée sur la plateforme de questions-réponses Quora, Brubeck a co...

    Read the article

  • Is a warning about IAP in freemium games on iOS required?

    - by user1282931
    When I launch the successful iOS game "Clash of Clans", right in the beginning I get the following message in an iOS info pop-up: "Clash of Clans is free to play, but you can speed up your progress with in-app purchases. If desired, purchases can be disabled in the general settings of your device." What's the reason the developer shows this message right in the beginning? Is there any legal obligation to do so?

    Read the article

  • Android vend deux fois plus qu'iOS, mais ses développeurs gagneraient quatre fois moins d'après une estimation de Flurry

    Android vend deux fois plus qu'iOS, mais ses développeurs gagneraient quatre fois moins D'après Flurry A quelques jours du Google I/O et en plein WWDC d'Apple, l'étude est polémique et se doit d'être prise avec des pincettes. D'après Flurry, un cabinet d'analyse éditeur de solutions de marketing mobile, iOS bénéficierait d'une communauté de développeurs beaucoup plus fidèle et plus motivée que celle d'Android. En comparant les deux OS, l'étude affirme que sur 10 applications développées, 7 le sont pour les appareils d'Apple contre seulement 3 pour Android. [IMG]http://ftp-developpez.com/gordon-fowler/Etudes...

    Read the article

  • Les développeurs très attirés par iOS, malgré une opinion négative d'Apple, plusieurs s'orientent vers le développement cross-platform

    Les développeurs très attirés par iOS malgré une opinion négative d'Apple, plusieurs veulent s'orienter vers le développement cross-platform Appcelerator vient de livrer en collaboration avec le cabinet d'analyse IDC, son dernier rapport trimestriel d'analyse de l'intérêt des développeurs pour les écosystèmes mobiles. L'étude a été menée auprès d'environ 3000 développeurs du programme mobile Appcelerator, sur leurs préférences et priorités de développement pour les jours à venir. Dans l'ensemble, Android et iOS demeurent les plateformes mobiles qui font l'objet de beaucoup plus d'attrait des développeurs. Selon le rapport d'Appcelerator, l'iPhone demeure la cible favorite ...

    Read the article

  • Google ouvre la beta d'Analytics Mobile App et sort deux SDK pour le Google Analytics des applications Android et iOS

    Google ouvre la beta d'Analytics Mobile App Le Google Analytics pour applications Android et iOS En juin, Google avait lancé une beta privée de « Mobile Analytics App », son service permettant à la fois d'évaluer l'audience des applications mobiles et différents éléments (versions, etc.). Cette beta est désormais disponible en version publique. Première amélioration qui accompagne cette arrivée, les deux SDK pour Android et iOS ont été entièrement refaits et simplifiés pour générer des rapports en 5 minutes. [IMG]http://ftp-developpez.com/gordon-fowler/GoogleAppAnalytics.png[/IMG] Des rapports qui contiennent à présent beaucoup plus ...

    Read the article

  • LinkedIn Intro : le nouveau service de LinkedIn déployé sur iOS soulève des questions de sécurité, quel est votre avis ?

    LinkedIn Intro : le nouveau service de LinkedIn déployé sur iOS soulève des questions de sécurité, quel est votre avis ? La fonctionnalité de LinkedIn déployée sur iOS intégrera directement des informations relatives au profil du correspondant, dans le client de messagerie. L'objectif étant de permettre à l'utilisateur de savoir instantanément qui sont les personnes qui lui ont envoyer des courriels.Ce service permet d'intégrer des informations relatives au profil LinkedIn du correspondant...

    Read the article

  • Projet Magenta : un clone d'iOS voit le jour, une développeuse reconstruit un iPhone OS 1 libre et matériel-agnostique

    Projet Magenta : un clone d'iOS voit le jour Une développeuse reconstruit un iPhone OS 1 libre et matériel-agnostique La domination des OS mobiles est depuis quelque temps cloîtrée à un triumvirat de tête qui semble accaparer innovation et parts de marché : Android, iOS et Windows Phone. Une percée remarquable d'un nouveau système peut paraître improbable, sauf si le challenger venait à naître de l'un de ces mastodontes du marché. Non, il ne s'agit pas de l'annonce fantasmatique d'un fork d'Android, mais d'u...

    Read the article

  • Wikipedia abandonne Google Maps et passe à OpenStreetMap pour ses applications mobiles, la première version pour iOS est disponible

    Wikipedia passe à OpenStreetMap Et abandonne Google Maps pour ses applications mobiles, la version iOS disponible Après Apple pour iPhoto, c'est au tour de Wikipedia de passer à OpenStreetMap, l'alternative collaborative et open source aux Google Maps. Ce choix concerne les applications mobiles (iOS et Android) de l'encyclopédie. Ses applications proposent à un utilisateur de le géolocaliser et d'afficher les éléments intéressants (bâtiments, musées, évènements historiques, etc.) à proximité. [IMG]http://ftp-developpez.com/gordon-fowler/Wikipedia%20appli.png[/IMG]

    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

  • Google Maps pour iOS pointé du doigt en Allemagne, l'application ne respecterait pas les lois sur la protection de la vie privée

    Apple pourrait refuser d'intégrer l'application Google Maps dans l'AppStore D'après Google, qui se dit « peu optimiste » Selon The Guardian, ce n'est pas de sitôt que l'application Google Maps fera son retour sur iOS. C'est en tout cas ce qu'aurait laissé entendre une source du journal britannique, un employé de Google proche de la division qui travaille sur ce projet. Cette source affirme que Google n'est « pas optimiste » sur l'attitude que va avoir Apple lors de la prochaine soumission de l'application sur l'AppStore. Pour mémoire, une des « nouveautés » d'iOS 6 a été ...

    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

  • NetBeans 7.4 : support du JDK 8, nouvelles fonctionnalités HTML5 et développement mobile pour Android et iOS, l'EDI open source sort

    NetBeans 7.4 : support du JDK 8, nouvelles fonctionnalités HTML5, optimisation des performances et développement mobile pour Android et iOS l'EDI open source sortNetBeans, l'environnent de développement polyglotte open source franchi un nouveau cap. Oracle vient de publier la version finale de NetBeans 7.4, qui offre un support amélioré du développement mobile.Cette version apporte comme nouveautés phares :le développement HTML5 pour la création d'applications Android et iOS la prise en charge...

    Read the article

< Previous Page | 38 39 40 41 42 43 44 45 46 47 48 49  | Next Page >