Search Results

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

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

  • Is background tasks the solution for this problem?

    - by Trinca
    Hi. I need to develop an enterprise app that monitors the network traffic. Basically it detects if the user is in wi-fi or cellular data and save the amount of bytes was sent and received in a period of time. I saw an App at the AppStore that do exactly this job. Detecting wi-fi or cellular data is quite simple using the Reachability Sample provided by Apple. My problem is to keep monitoring the bytes sent and received while the app is in background. As it is an enterprise App, I used UIBackgroundModes "voip" to avoid the app to be terminated. I also installed the setKeepAliveTimeout method and I'm able to see the logs each 10 minutes, BUT only for 10 seconds after the method runs. I mean, setKeepAliveTimeout brings my App to run a Timer for 10 seconds each 1o minutes. I'm thinking wether or not a task in background is the best solution for my problem. I'll appreciate any comments. EDIT: Ok guys. Thats the perfect way to do it. First of all you must read this: http://www.christian-fries.de/blog/files/tag-ios.html I tried this and it works really fine. All we need to do is to create a second thread detached from the main one. This way we have a continuos threading running forever. You must see the GCD docs at Apple's website also. Second thing you should consider for an enterprise App is to set it up as a voip App, this way iOS will put your App running even after a reboot. It's a special behavior iOS has to keep voip Apps running. Thats it guys. I hope it can help you.

    Read the article

  • Three20 and iOS 4

    - by user361654
    Im'trying to complie my app for iOS 4. it includes Three20. I've set the base sdk to "iPhone Device 4.0" and the Deployment target to "iPhone OS 3.0" but get this message: "_OBJC_CLASS_$_TTURLRequestModel", referenced from: _OBJC_CLASS_$_MockPhotoSource in MockPhotoSource.o What i have to do? Thanks!!

    Read the article

  • Drawing scaled emoji icons on iOS

    - by Eimantas
    I'm trying to implement my own emoji icon keyboard and have some problems. I'm trying to draw emoji icons at the same size as on native iOS emoji keyboard, but when doing simple drawing (standard unicode characters like "\ue415") icons always appear at original size. When trying to increase the font - emoji icons stay of the same size. When applying CGAffineTransform for scaling - drawn icons are bigger, but pixelated and blurred. How should I go about drawing emoji icons bigger, but sharper?

    Read the article

  • UIAlertView subclass with text fields for iOS 4

    - by olegam
    Has anyone seen a solution for adding text fields to a UIAlertView (without private APIs)? On 3.x I've been using enormego's EGOTextFieldAlertView, but this doesn't work properly when compiled for iOS 4. Any suggestions? http://github.com/enormego/EGOTextFieldAlertView/

    Read the article

  • Advice and resources for Apple iOS 4 development

    - by mlambie
    I'm looking for resources, screencasts, books, courses, sites and the like to assist with learning Objective-C with the intention of developing applications for Apple's iOS 4. My development team has access to Apple's development program, and is largely coming from a similar background: they're Comp Sci graduates that have experience with Ruby and web languages, but haven't written any C since university. Considering Apple's announcement regarding limited programming language support for developers, what's the current best avenue for learning Objective-C with the desire for developing iPad and iPhone applications?

    Read the article

  • iOS Application Background Downloading

    - by Hankweb
    Hey! I need to know how I can have my iOS Application start a download in the background of the application (like, have the download run in the AppDelegate file) so changing ViewControllers will not interrupt or cancel the download. I also need to be able to get the progress of the download (0.00000 - 1.00000), to set a UIProgressView object to, which also means I need a - (void)progressDidChangeTo:(int)progress function.

    Read the article

  • iPhone iOS 6 BonjourWeb Xcode 4.5 "Cancel Button Error

    - by Don Larson
    I'm working with the source code for BonjourWeb using iOS 6 and Xcode 4.5. BonjourWeb Source code for Xcode In BonjourWebAppDelegate.m, the setting for showCancelButton:YES in the "applicationDidFinishLaunching: application:" method causes the program to crash when the Cancel button is clicked in the app's browser with the error: 2012-10-27 13:07:45.309 BonjourWeb[1762:c07] * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '* +[NSNetService dictionaryFromTXTRecordData:]: cannot convert nil to a dictionary.' How can I rectify this to work properly? Thank you. Don

    Read the article

  • problem with linked libraries or classes??

    - by hemant
    i recently finished one project..now when i create a new navigation project in xcode and try to run it in simulator the application crashes and error in debugger window shows that i am missing some classes which i had used in my previous project(not in this one) and in some cases it gives Couldn't register com.yourcompany.GuessGame with the bootstrap server. Error: unknown error code. This generally means that another instance of this process was already running or is hung in the debugger. is this some problem related to linked libraries??

    Read the article

  • Need help regarding internationalization of iPhone application

    - by Taufeeq Ahmed
    I have provided support for two languages, English and Chinese, in my iPhone application. I use string files for the languages using "key"-"value" pairs and my application displays the appropriate language using NSLocalizedString(@"Fund red not red?", @""). I get only Chinese text when I run the app in XCode. How can I switch to different languages in XCode (iPhone simulator)?

    Read the article

  • Custom uitoolbar gets partly hidden

    - by Jakub
    I'd like to add a custom UIToolbar to my UIViewController. In Interface Builder I add the uitoolbar at the top of my view, and it looks just fine. However, when I run the app in the Simulator it gets hidden by the default iphone bar (this one with the clock, battery status, etc.). Here you can see how it looks like: Any ideas?

    Read the article

  • How can I test Xcdoe Project on iPhone ?

    - by Khawar
    I have developed a view based project in XCode. It is successfully running in iPhone Simulator. But I want to test this project on real iPhone device to check the behavior of application. Is there any way I can test my application on iPhone device without buying Apple Developer's License ? Thanks in advance.

    Read the article

  • How can I test Xcode Project on iPhone ?

    - by Khawar
    I have developed a view based project in XCode. It is successfully running in iPhone Simulator. But I want to test this project on real iPhone device to check the behavior of application. Is there any way I can test my application on iPhone device without buying Apple Developer's License? Thanks in advance.

    Read the article

  • java.io.IOException: Bad DNS address - in opening a HttpConnection

    - by Shreyas
    Hi, I m opening a HttpConnection to a URL. Its working in simulator but when i try it in device, it gives "java.io.IOException: Bad DNS address" while opening the HttpConnection. I serached the forums but havent got the solution yet. That URL is opening in Blackberry device Internet Browser but not getting the HttpConnection (HttpConnection is coming NULL) when i try through my code.

    Read the article

  • BlackBerry use of the simulators

    - by user301467
    Hallo, on the BlackBerry homepage you can download different simulators for every different model. There are a lot fo simulators there... My question is, how do you develop BlackBerry applications: do you use the simulators - can you relay on them. If an application works on the simulator, does it works 1:1 on the phone? Do you develop for every model a different UI, as the screensize is different? Thanks you very much for your replay?

    Read the article

  • iPhone SDK simple alert message question

    - by Paul
    char asd='a'; UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Are you sure?" message:asd delegate:self cancelButtonTitle:@"Cancel" otherButtonTitles:@"OK", nil]; [alert show]; [alert release]; above code not compiling in iPhone simulator. Why is that? :)

    Read the article

  • Compiling the ffmpeg on iPhone?

    - by user287225
    I downloaded the iFrameExtractor sample code and try to compile it with the iPhone simulator version 3.1.3 The project shows the following errors ( http://img514.imageshack.us/img514/3245/66948298.png ) even thought I added *.a libraries to my project. All libraries was under the library searching path. I guess it is a linking problem. Anyone can recommend to me a configuration for compiling ffmpeg on x86? Thanks in advance.

    Read the article

  • Annoying white border when rotating a view in iPad

    - by Horace Ho
    When rotating a View from UIInterfaceOrientationPortrait to UIInterfaceOrientationPortraitUpsideDown on the iPad simulator, there is a white border along one side of the view (see diagram, lower left of the image). The white border shows only on one side, but not the opposite side. How can I prevent (hide) it? Thanks!

    Read the article

  • using reachability class in ipad

    - by Jeevanantham
    hi, Thanks before answering to all friends. Doing sample project for iPad. In that am using Reachability class. Using Reachability *rAbility = [Reachability reachabilityForInternetConnection]; to check internet connection. Presently working in simulator. Don't have instrument.

    Read the article

  • slideshow for images, prev, next buttons

    - by ramyauk
    Hi, I developed an application for my Image gallery.now, i need to make a slideshow for those images with Previous & Next buttons to switch between images. Do anyOne of you tried to develop with such functionality. Can any one of you provide me sample XCode project for my requirement?I would like to test it using iPhone-simulator. Any kind of help would be greatly appreciated. Thank You, Ramya.

    Read the article

  • How to use a self-signed SSL certificate when developing with Trigger.io?

    - by user610345
    Our backend is in rails, and for several reasons the development environment has to be run with rails using a self-signed SSL certificate. This works fine on the desktop after manually trusting the certificate. Using Trigger.io, we're developing a mobile application targeting iOS from the same backend. It would be ideal for us to be able to run the rails server with SSL (so we can compare the browser output) and still have the iOS simulator connect properly without complaining about invalid certs. Production is using a proper ssl-cert, but what's the best way to set up the simulator?

    Read the article

  • iDevice for Dummies: Can a device be assigned multiple provisions (Personal/Enterprise)?

    - by Alex
    Hi guys, Is it possible to assign multiple provisions to an iDevice? To be honest, I'm not sure if I'm using the correct terminology, but basically, I'm developing an iPad app for a company and I've only been testing it in the simulator because I don't have a registration to the developer program and they haven't setup their enterprise registration yet either. And I'm sure you all know how limited the simulator is... I don't really care about the $99 it costs to join, but what I'm worried about is having my iDevices locked permanently to my personal registration and unable to switch back and forth to the enterprise registration. I'd appreciate it if someone can explain to me how the registrations work. And keep in mind, I'm a dummy. :) Thanks in advance!

    Read the article

  • UIImageWriteToSavedPhotosAlbum not working in iOS 4?

    - by nickthedude
    Ive been using this function: (http://developer.apple.com/iphone/library/documentation/uikit/reference/UIKitFunctionReference/Reference/reference.html#//apple_ref/c/func/UIImageWriteToSavedPhotosAlbum) ...to save a uiimage to the users photo album and it works great on everything except a 4.0 simulator, dont have a device to test on so it may be boned there as well. ive also tried it in both the latest xcode (3.2.3 gm seed) and a previous build of 3.2.3. can anyone confirm that this is still function is still "functional" in iOS 4. the documentation gives no indication that it would be removed and I havent seen anything in searches related to it. Thanks, Nick

    Read the article

  • How should I organise classes for a space simulator?

    - by Peteyslatts
    I have pretty much taught myself everything I know about programming, so while I know how to teach myself (books, internet and reading API's), I'm finding that there hasn't been a whole lot in the way of good programming. I am finishing up learning the basics of XNA and I want to create a space simulator to test my knowledge. This isn't a full scale simulator, but just something that covers everything I learned. It's also going to be modular so I can build on it, after I get the basics down. One of the early features I want to implement is AI. And I want to take this into account as I'm designing my classes so I can minimize rewriting code. So my question: How should I design ship classes so that both the player and AI can use them? The only idea I have so far is: Create a ship class that contains stats, models, textures, collision data etc. The player and AI would then have the data for position, rotation, health, etc and would base their status off of the ship stats.

    Read the article

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