iphone Programming Glossary: running
How to programmatically send SMS on the iPhone? http://stackoverflow.com/questions/10848/how-to-programmatically-send-sms-on-the-iphone will be able to send SMS via MFMessageComposeViewController. If this is the case then Apple is running an SMS server that sends messages on behalf of devices that don't have a cellular modem. Limitations..
Starting iPhone app development in Linux? http://stackoverflow.com/questions/276907/starting-iphone-app-development-in-linux tools iphone ios linux share improve this question To provide a differing response I'm running OS X and Xcode on a virtualised VMware machine on Linux. CPU is a Core2Quad Q8800 and it is perfectly..
Install xCode 3.2.3 w/ iPhone SDK 4, get “Base SDK missing”, can't see other SDKs http://stackoverflow.com/questions/3161385/install-xcode-3-2-3-w-iphone-sdk-4-get-base-sdk-missing-cant-see-other-sdk mapped to is deprecated gones ville. But 3 is a magic number Relax. You can still target devices running iPhone OS 3.0 but not lower . The SDK you use to compile does not limit downward what iOS version you..
EXC_BAD_ACCESS signal received http://stackoverflow.com/questions/327082/exc-bad-access-signal-received your emulator testing but is more likely to be released and show up as bad access errors when running on the device. The best way to track these things down and a good idea anyway even if there are no apparent..
Getting current device language in iOS? http://stackoverflow.com/questions/3910244/getting-current-device-language-in-ios NS_AVAILABLE 10_5 2_0 note that this list does not indicate what language the app is actually running in the NSBundle mainBundle object determines that at launch and knows that information People interested..
How do I detect that an iOS app is running on a jailbroken phone? http://stackoverflow.com/questions/413242/how-do-i-detect-that-an-ios-app-is-running-on-a-jailbroken-phone do I detect that an iOS app is running on a jailbroken phone If I want my app to behave differently on a jailbroken iPhone how would I go..
Can we retrieve the applications currently running in iPhone and iPad http://stackoverflow.com/questions/4312613/can-we-retrieve-the-applications-currently-running-in-iphone-and-ipad we retrieve the applications currently running in iPhone and iPad Can we retrieve the applications currently running in iPhone and iPad UPDATE Can.. the applications currently running in iPhone and iPad Can we retrieve the applications currently running in iPhone and iPad UPDATE Can we do it in jail broken phones Can we do it for an app for CYDIA Store.. it for an app for CYDIA Store iphone ios4 share improve this question You can get a list of running processes and from process ids may be you can figure out which ones are system processes and which one..
How to filter NSFetchedResultsController (CoreData) with UISearchDisplayController/UISearchBar http://stackoverflow.com/questions/4471289/how-to-filter-nsfetchedresultscontroller-coredata-with-uisearchdisplaycontroll wrong answer hinted at what to do . I tried Sergio's answer but had exception issues when actually running on a device. Yes you create two fetch results controllers one for the normal display and another one..
Determine device (iPhone, iPod Touch) with iPhone SDK http://stackoverflow.com/questions/448162/determine-device-iphone-ipod-touch-with-iphone-sdk device iPhone iPod Touch with iPhone SDK Is there a way to determine the device running an application. I want to distinguish between iPhone and iPod Touch if possible. iphone ios ipod touch..
iPhone - Backgrounding to poll for events http://stackoverflow.com/questions/4656214/iphone-backgrounding-to-poll-for-events his app as tracking location changes but the location services icon isn't visible while the app is running which I thought was a requirement. Does anyone have any clues as to how this can be accomplished iphone.. a nice side effect After 10 Minutes sometimes earlier I discovered that my timers and previous running treads are being executed for a short while. You can see this if you place some NSLog .. into your code... automatically after bootup With abusing this behavior you can make your app be looking like running forever . Register for one background process i.e. VoIP . This will cause your app to be restarted after..
Change User Agent in UIWebView (iPhone SDK) http://stackoverflow.com/questions/478387/change-user-agent-in-uiwebview-iphone-sdk on that page it appears to work in 4.3 and earlier also. Change the UserAgent default value by running this code once when your app starts NSDictionary dictionary NSDictionary dictionaryWithObjectsAndKeys..
Locking the Fields in MFMailComposeViewController http://stackoverflow.com/questions/6284599/locking-the-fields-in-mfmailcomposeviewcontroller email with a nice please wait overlay. I have attached an image of what this looks like while its running for the few seconds it takes . Please note I take no credit for creating the SMTP framework. It was..
How do I get a background location update every n minutes in my iOS application? http://stackoverflow.com/questions/6347503/how-do-i-get-a-background-location-update-every-n-minutes-in-my-ios-application not possible to force it to update the location every n minutes NSTimer Does work when the app is running in the foreground but doesn't seem to be designed for background tasks Local notifications Local notifications.. also limited in time when an app is moved to the background rather than implementing long running background processes. How can I implement these regular background location updates iphone ios objective..
How to programmatically send SMS on the iPhone? http://stackoverflow.com/questions/10848/how-to-programmatically-send-sms-on-the-iphone I've not yet tested this myself it may be that all iOS devices will be able to send SMS via MFMessageComposeViewController. If this is the case then Apple is running an SMS server that sends messages on behalf of devices that don't have a cellular modem. Limitations to this class Keep in mind that this won't work on phones without..
Starting iPhone app development in Linux? http://stackoverflow.com/questions/276907/starting-iphone-app-development-in-linux Linux If yes what do I need and where do I download the necessary tools iphone ios linux share improve this question To provide a differing response I'm running OS X and Xcode on a virtualised VMware machine on Linux. CPU is a Core2Quad Q8800 and it is perfectly fast. I found a prebuilt VM online I'll leave it to you to..
Install xCode 3.2.3 w/ iPhone SDK 4, get “Base SDK missing”, can't see other SDKs http://stackoverflow.com/questions/3161385/install-xcode-3-2-3-w-iphone-sdk-4-get-base-sdk-missing-cant-see-other-sdk your project is now broken since the SDK it was previously mapped to is deprecated gones ville. But 3 is a magic number Relax. You can still target devices running iPhone OS 3.0 but not lower . The SDK you use to compile does not limit downward what iOS version you can program to or support. Once you've patched things up in..
EXC_BAD_ACCESS signal received http://stackoverflow.com/questions/327082/exc-bad-access-signal-received using it or be released but coincidentally still valid during your emulator testing but is more likely to be released and show up as bad access errors when running on the device. The best way to track these things down and a good idea anyway even if there are no apparent problems is to run the app in the Instruments tool especially..
Getting current device language in iOS? http://stackoverflow.com/questions/3910244/getting-current-device-language-in-ios header information from NSLocale.h NSArray preferredLanguages NS_AVAILABLE 10_5 2_0 note that this list does not indicate what language the app is actually running in the NSBundle mainBundle object determines that at launch and knows that information People interested in app language take a look at @mindvision's answer share..
How do I detect that an iOS app is running on a jailbroken phone? http://stackoverflow.com/questions/413242/how-do-i-detect-that-an-ios-app-is-running-on-a-jailbroken-phone do I detect that an iOS app is running on a jailbroken phone If I want my app to behave differently on a jailbroken iPhone how would I go about determining this I thought someone had asked this question..
Can we retrieve the applications currently running in iPhone and iPad http://stackoverflow.com/questions/4312613/can-we-retrieve-the-applications-currently-running-in-iphone-and-ipad we retrieve the applications currently running in iPhone and iPad Can we retrieve the applications currently running in iPhone and iPad UPDATE Can we do it in jail broken phones Can we do it for an app for.. we retrieve the applications currently running in iPhone and iPad Can we retrieve the applications currently running in iPhone and iPad UPDATE Can we do it in jail broken phones Can we do it for an app for CYDIA Store iphone ios4 share improve this question You can get a.. and iPad UPDATE Can we do it in jail broken phones Can we do it for an app for CYDIA Store iphone ios4 share improve this question You can get a list of running processes and from process ids may be you can figure out which ones are system processes and which one are 3rd party apps but anyway I don't believe you can use..
How to filter NSFetchedResultsController (CoreData) with UISearchDisplayController/UISearchBar http://stackoverflow.com/questions/4471289/how-to-filter-nsfetchedresultscontroller-coredata-with-uisearchdisplaycontroll this on one of my projects your question and the other wrong answer hinted at what to do . I tried Sergio's answer but had exception issues when actually running on a device. Yes you create two fetch results controllers one for the normal display and another one for the UISearchBar's table view. If you only use one FRC NSFetchedResultsController..
Determine device (iPhone, iPod Touch) with iPhone SDK http://stackoverflow.com/questions/448162/determine-device-iphone-ipod-touch-with-iphone-sdk device iPhone iPod Touch with iPhone SDK Is there a way to determine the device running an application. I want to distinguish between iPhone and iPod Touch if possible. iphone ios ipod touch share improve this question You can use the UIDevice..
iPhone - Backgrounding to poll for events http://stackoverflow.com/questions/4656214/iphone-backgrounding-to-poll-for-events you've used. I suspect that the developer is registering his app as tracking location changes but the location services icon isn't visible while the app is running which I thought was a requirement. Does anyone have any clues as to how this can be accomplished iphone background location multitasking share improve this question.. even use VoIP Sockets. But this 10 Minutes callback provides a nice side effect After 10 Minutes sometimes earlier I discovered that my timers and previous running treads are being executed for a short while. You can see this if you place some NSLog .. into your code. This means that this short wakeup executes the code for.. if the app was terminated. VoIP apps will be started in background automatically after bootup With abusing this behavior you can make your app be looking like running forever . Register for one background process i.e. VoIP . This will cause your app to be restarted after termination. Now write some Task has to be finished code...
Change User Agent in UIWebView (iPhone SDK) http://stackoverflow.com/questions/478387/change-user-agent-in-uiwebview-iphone-sdk user agent as pointed out in an answer below. In comments on that page it appears to work in 4.3 and earlier also. Change the UserAgent default value by running this code once when your app starts NSDictionary dictionary NSDictionary dictionaryWithObjectsAndKeys @ Your user agent @ UserAgent nil NSUserDefaults standardUserDefaults..
Locking the Fields in MFMailComposeViewController http://stackoverflow.com/questions/6284599/locking-the-fields-in-mfmailcomposeviewcontroller below. Then I have put together some code that sends the email with a nice please wait overlay. I have attached an image of what this looks like while its running for the few seconds it takes . Please note I take no credit for creating the SMTP framework. It was downloaded from the internet after searching for it forever...
How do I get a background location update every n minutes in my iOS application? http://stackoverflow.com/questions/6347503/how-do-i-get-a-background-location-update-every-n-minutes-in-my-ios-application as expected based on the configured properties but it seems not possible to force it to update the location every n minutes NSTimer Does work when the app is running in the foreground but doesn't seem to be designed for background tasks Local notifications Local notifications can be scheduled every n minutes but it's not possible.. understand this should be used to finish some work in the background also limited in time when an app is moved to the background rather than implementing long running background processes. How can I implement these regular background location updates iphone ios objective c core location background process share improve this..
How to programmatically send SMS on the iPhone? http://stackoverflow.com/questions/10848/how-to-programmatically-send-sms-on-the-iphone be that all iOS devices will be able to send SMS via MFMessageComposeViewController. If this is the case then Apple is running an SMS server that sends messages on behalf of devices that don't have a cellular modem. Limitations to this class Keep..
Starting iPhone app development in Linux? http://stackoverflow.com/questions/276907/starting-iphone-app-development-in-linux I download the necessary tools iphone ios linux share improve this question To provide a differing response I'm running OS X and Xcode on a virtualised VMware machine on Linux. CPU is a Core2Quad Q8800 and it is perfectly fast. I found a prebuilt..
Install xCode 3.2.3 w/ iPhone SDK 4, get “Base SDK missing”, can't see other SDKs http://stackoverflow.com/questions/3161385/install-xcode-3-2-3-w-iphone-sdk-4-get-base-sdk-missing-cant-see-other-sdk SDK it was previously mapped to is deprecated gones ville. But 3 is a magic number Relax. You can still target devices running iPhone OS 3.0 but not lower . The SDK you use to compile does not limit downward what iOS version you can program to or..
EXC_BAD_ACCESS signal received http://stackoverflow.com/questions/327082/exc-bad-access-signal-received still valid during your emulator testing but is more likely to be released and show up as bad access errors when running on the device. The best way to track these things down and a good idea anyway even if there are no apparent problems is..
Getting current device language in iOS? http://stackoverflow.com/questions/3910244/getting-current-device-language-in-ios preferredLanguages NS_AVAILABLE 10_5 2_0 note that this list does not indicate what language the app is actually running in the NSBundle mainBundle object determines that at launch and knows that information People interested in app language..
How do I detect that an iOS app is running on a jailbroken phone? http://stackoverflow.com/questions/413242/how-do-i-detect-that-an-ios-app-is-running-on-a-jailbroken-phone do I detect that an iOS app is running on a jailbroken phone If I want my app to behave differently on a jailbroken iPhone how would I go about determining this..
Can we retrieve the applications currently running in iPhone and iPad http://stackoverflow.com/questions/4312613/can-we-retrieve-the-applications-currently-running-in-iphone-and-ipad we retrieve the applications currently running in iPhone and iPad Can we retrieve the applications currently running in iPhone and iPad UPDATE Can we do it in jail broken.. we retrieve the applications currently running in iPhone and iPad Can we retrieve the applications currently running in iPhone and iPad UPDATE Can we do it in jail broken phones Can we do it for an app for CYDIA Store iphone ios4 share.. phones Can we do it for an app for CYDIA Store iphone ios4 share improve this question You can get a list of running processes and from process ids may be you can figure out which ones are system processes and which one are 3rd party apps..
How to filter NSFetchedResultsController (CoreData) with UISearchDisplayController/UISearchBar http://stackoverflow.com/questions/4471289/how-to-filter-nsfetchedresultscontroller-coredata-with-uisearchdisplaycontroll and the other wrong answer hinted at what to do . I tried Sergio's answer but had exception issues when actually running on a device. Yes you create two fetch results controllers one for the normal display and another one for the UISearchBar's..
Determine device (iPhone, iPod Touch) with iPhone SDK http://stackoverflow.com/questions/448162/determine-device-iphone-ipod-touch-with-iphone-sdk device iPhone iPod Touch with iPhone SDK Is there a way to determine the device running an application. I want to distinguish between iPhone and iPod Touch if possible. iphone ios ipod touch share improve..
iPhone - Backgrounding to poll for events http://stackoverflow.com/questions/4656214/iphone-backgrounding-to-poll-for-events is registering his app as tracking location changes but the location services icon isn't visible while the app is running which I thought was a requirement. Does anyone have any clues as to how this can be accomplished iphone background location.. callback provides a nice side effect After 10 Minutes sometimes earlier I discovered that my timers and previous running treads are being executed for a short while. You can see this if you place some NSLog .. into your code. This means that.. be started in background automatically after bootup With abusing this behavior you can make your app be looking like running forever . Register for one background process i.e. VoIP . This will cause your app to be restarted after termination. Now..
Change User Agent in UIWebView (iPhone SDK) http://stackoverflow.com/questions/478387/change-user-agent-in-uiwebview-iphone-sdk below. In comments on that page it appears to work in 4.3 and earlier also. Change the UserAgent default value by running this code once when your app starts NSDictionary dictionary NSDictionary dictionaryWithObjectsAndKeys @ Your user agent..
Locking the Fields in MFMailComposeViewController http://stackoverflow.com/questions/6284599/locking-the-fields-in-mfmailcomposeviewcontroller code that sends the email with a nice please wait overlay. I have attached an image of what this looks like while its running for the few seconds it takes . Please note I take no credit for creating the SMTP framework. It was downloaded from the..
How do I get a background location update every n minutes in my iOS application? http://stackoverflow.com/questions/6347503/how-do-i-get-a-background-location-update-every-n-minutes-in-my-ios-application but it seems not possible to force it to update the location every n minutes NSTimer Does work when the app is running in the foreground but doesn't seem to be designed for background tasks Local notifications Local notifications can be scheduled.. some work in the background also limited in time when an app is moved to the background rather than implementing long running background processes. How can I implement these regular background location updates iphone ios objective c core location..
Does a NSURLConnection retain its delegate? http://stackoverflow.com/questions/1101867/does-a-nsurlconnection-retain-its-delegate connectionWithRequest request delegate self NSLog @ Retain count after d self retainCount which produces in the log Running 2009 07 09 02 13 40.516 delegateRetain 45123 a0f Retain count before 1 2009 07 09 02 13 40.525 delegateRetain 45123 a0f..
Determining if an iPhone is Jail broken Programatically http://stackoverflow.com/questions/1140856/determining-if-an-iphone-is-jail-broken-programatically if an iPhone is Jail broken Programatically How do you determine programatically if an iPhone iPod is Jail broken Running a cracked copy of your software Pinch Media can detect if a phone is jail broken or the software running is cracked does..
Nil NSDate when trying to get date from UTC string in zulu time http://stackoverflow.com/questions/1263455/nil-nsdate-when-trying-to-get-date-from-utc-string-in-zulu-time setDateFormat @ yyyy MM dd'T'HH mm ss.SSSZ NSString str @ 2009 08 11T06 00 00.000Z NSDate date df dateFromString str Running this through the debugger date ends up nil I'm assuming it has something to do with my date format string. How can I fix..
Running IPhone apps while in sleep mode http://stackoverflow.com/questions/1551712/running-iphone-apps-while-in-sleep-mode IPhone apps while in sleep mode As of IPhone OS 3.0 MotionX GPS is able to keep recording a GPS track while in sleep mode...
Z-ordering of MKAnnotationViews http://stackoverflow.com/questions/1681565/z-ordering-of-mkannotationviews annotation if ann top annView superview bringSubviewToFront annView else annView superview sendSubviewToBack annView Running through the annotation views passed to mapView didAddAnnotationViews and adjusting their z order does seem to fix #1. The..
iPhone fluid simulation http://stackoverflow.com/questions/1784745/iphone-fluid-simulation desktop computers so I would not expect the greatest performance when trying to get this working on a mobile device. Running full Navier Stokes calculations on the iPhone is probably going to chug pretty badly. However in the past I was able to..
Advice on speeding up OpenGL ES 1.1 on the iPhone http://stackoverflow.com/questions/1844765/advice-on-speeding-up-opengl-es-1-1-on-the-iphone per triangle When drawing with indexed triangles you should make sure that your indices are sorted for maximum reuse. Running your geometry through Imagination Technologies PVRTTriStrip tool would probably be your best bet here. share improve this..
Implementing Unit Testing with the iPhone SDK http://stackoverflow.com/questions/2002330/implementing-unit-testing-with-the-iphone-sdk 412 note Started tests for architectures 'i386' Developer Tools RunPlatformUnitTests.include 419 note Running tests for architecture 'i386' GC OFF objc 12589 GC forcing GC OFF because OBJC_DISABLE_GC is set Test Suite ' Users james..
How to keep an iPhone app running on background fully operational http://stackoverflow.com/questions/3762200/how-to-keep-an-iphone-app-running-on-background-fully-operational for a limited time after your application is directed to go to the background but only for the duration provided. Running for longer than this will cause your application to be terminated. See the Completing a Long Running Task in the Background.. provided. Running for longer than this will cause your application to be terminated. See the Completing a Long Running Task in the Background section of the iOS Application Programming Guide for how to go about this. Others have piggybacked..
Subclassing NSOperation to be concurrent and cancellable http://stackoverflow.com/questions/3859631/subclassing-nsoperation-to-be-concurrent-and-cancellable just for ease of explanation. I'll explain what you're misunderstanding and then give a corrected example. 1. Running NSOperations concurrently Most of the time you'll use NSOperation s with an NSOperationQueue and from your code it sounds..
User Defined Runtime Attributes in IB for iPhone not working http://stackoverflow.com/questions/3980251/user-defined-runtime-attributes-in-ib-for-iphone-not-working
post link using facebook sdk on iphone http://stackoverflow.com/questions/4422306/post-link-using-facebook-sdk-on-iphone new autorelease NSDictionary actionLinks NSArray arrayWithObjects NSDictionary dictionaryWithObjectsAndKeys @ Always Running @ text @ http itsti.me @ href nil nil NSString actionLinksStr jsonWriter stringWithObject actionLinks NSDictionary attachment.. actionLinks NSDictionary attachment NSDictionary dictionaryWithObjectsAndKeys @ a long run @ name @ The Facebook Running app @ caption @ it is fun @ description @ http itsti.me @ href nil NSString attachmentStr jsonWriter stringWithObject..
How to run and debug unit tests for an iPhone application http://stackoverflow.com/questions/4989668/how-to-run-and-debug-unit-tests-for-an-iphone-application YES Note that I also tried the DYLD_FORCE_FLAT_NAMESPACE but this simply made otest crash. Step 4 Running your otest executable To run your otest executable and start debugging your tests you need to Set your active target to..
Running script only for an 'Archive' build in Xcode 4 http://stackoverflow.com/questions/5471396/running-script-only-for-an-archive-build-in-xcode-4 script only for an 'Archive' build in Xcode 4 I have a script that I run using osascript from a Run Script Build Phase..
Running xcodebuild from a forked terminal http://stackoverflow.com/questions/577750/running-xcodebuild-from-a-forked-terminal xcodebuild from a forked terminal I'm trying to setup an automated build server for an iPhone application. I'd like to..
Why is UIBezierPath faster than Core Graphics path? http://stackoverflow.com/questions/6327817/why-is-uibezierpath-faster-than-core-graphics-path results call tree inverted you can see that strokeContext takes 9.5 sec. while strokeUIBezierPath takes only 5 sec. Running Self Symbol Name 14638.0ms 88.2 CGContextStrokePath 9587.0ms 57.8 QuartzTestView strokeContext 5051.0ms 30.4 UIBezierPath..
ARC, Blocks and Retain Cycles http://stackoverflow.com/questions/7761074/arc-blocks-and-retain-cycles Blocks and Retain Cycles Working on an iOS project that targets 4.0 and 5.0 using ARC. Running into an issue related to blocks ARC and referencing an object from outside the block. Here's some code __block AFHTTPRequestOperation..
Internal clock in iPhone background mode http://stackoverflow.com/questions/9564823/internal-clock-in-iphone-background-mode issues may be in situations like somebody has changed the user's iPhone time etc. So i am following the below method. Running an internal clock in my application background even if the application is not running. Communicate with server every 15..
|