iphone Programming Glossary: avoid
Tricks for improving iPhone UITableView scrolling performance? http://stackoverflow.com/questions/1352479/tricks-for-improving-iphone-uitableview-scrolling-performance when you receive a memory warning Draw everything in the UITableViewCell 's drawRect if possible avoid subviews at all costs or if you require the standard accessibility functionality the content view's..
Core Data - Storing Images (iPhone) http://stackoverflow.com/questions/2090028/core-data-storing-images-iphone person address whatever . 1 mb store in a separate entity on the other end of a relationship to avoid performance issues. 1 mb store on disk and reference the path in your Core Data store. You can use the..
iPhone ivar naming convention [duplicate] http://stackoverflow.com/questions/2114587/iphone-ivar-naming-convention like to use it for clarity to separate out class variables and as another responder noted to avoid conflict with incoming parameter names. Even in Apple sample code the use is mixed. However I greatly.. use autocomplete on Any overlap in names from parameters is quickly revealed by the compiler and avoided through more thoughtful naming of parameters or internal variables . 2 even better reason if you use..
Objective-C categories in static library http://stackoverflow.com/questions/2567498/objective-c-categories-in-static-library allows you to target a specific archive. we can use force_load to reduce app binary size and to avoid conflicts wich all_load can cause in some cases. Yes it works with .a files added to the project. Yet..
Universal iPhone/iPad application debug compilation error for iPhone testing http://stackoverflow.com/questions/2618889/universal-iphone-ipad-application-debug-compilation-error-for-iphone-testing my headers to ensure the UISplitView is never used nor imported via the Phone logic. How do I avoid this error and is there a better way to split the universal logic paths in this programmatically created..
How to tell if UIViewController's view is visible http://stackoverflow.com/questions/2777438/how-to-tell-if-uiviewcontrollers-view-is-visible be better to check first to see if it is already loaded. I've added the call to isViewLoaded to avoid this problem. if viewController.isViewLoaded viewController.view.window viewController is visible Or..
Is it true that one should not use NSLog() on production code? http://stackoverflow.com/questions/300673/is-it-true-that-one-should-not-use-nslog-on-production-code would automatically strip those calls out when building my Release Distribution builds. Should I avoid using this If so what alternatives are most common between experienced Objective C programmers iphone..
Check iPhone iOS Version http://stackoverflow.com/questions/3339722/check-iphone-ios-version You can get the OS version using UIDevice currentDevice systemVersion However you should avoid relying on the version string as an indication of device or OS capabilities. There is usually a more..
Using the apple FFT and accelerate Framework http://stackoverflow.com/questions/3398753/using-the-apple-fft-and-accelerate-framework save us time later. Note that this call creates an array which will need to be released later to avoid leaking setupReal vDSP_create_fftsetup log2n FFT_RADIX2 It's worth noting that if we set log2n to eg..
How to link to apps on the app store http://stackoverflow.com/questions/433907/how-to-link-to-apps-on-the-app-store apps developername appname Additional notes You can replace http with itms or itms apps to avoid redirects. For info on naming see QA1633 https developer.apple.com library ios #qa qa1633 _index.html..
iOS: Change Device Volume http://stackoverflow.com/questions/4859402/ios-change-device-volume Using iPodMusicPlayer would affect the actual iPod volume setting as well. If you want to avoid that use this MPMusicPlayerController musicPlayer MPMusicPlayerController applicationMusicPlayer musicPlayer.volume..
iOS: how to perform an HTTP POST request? http://stackoverflow.com/questions/5537297/ios-how-to-perform-an-http-post-request you can process. IMPORTANT Remember to kick off the synchronous request in a separate thread to avoid blocking the UI. Asynchronously void start Don't forget to set your NSURLConnection's delegate to handle..
What's the best way to communicate between view controllers? http://stackoverflow.com/questions/569940/whats-the-best-way-to-communicate-between-view-controllers of putting data in model objects when appropriate per the MVC design pattern . Usually you want to avoid putting state information inside a controller unless it's strictly presentation data. Second see page..
Tab bar controller inside a navigation controller, or sharing a navigation root view http://stackoverflow.com/questions/576764/tab-bar-controller-inside-a-navigation-controller-or-sharing-a-navigation-root that is pushed onto the stack. It cannot be an instance of tab bar controller. I would like to avoid private APIs and the like but I'm not sure why this usage is explicitly prohibited even when it seems..
CADisplayLink OpenGL rendering breaks UIScrollView behaviour http://stackoverflow.com/questions/5944050/cadisplaylink-opengl-rendering-breaks-uiscrollview-behaviour dispatch queue and use it for all of your rendering updates to a particular OpenGL ES context to avoid two actions writing to the context at the same time. Then within your CADisplayLink callback you can..
How do I create delegates in Objective-C? http://stackoverflow.com/questions/626898/how-do-i-create-delegates-in-objective-c notification The delegate property itself is typically declared weak in ARC or assign pre ARC to avoid retain loops since the delegate of an object often holds a strong reference to that object. For example..
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 the location manager should be enabled and disabled again before there is no time remaining to avoid the background task being killed. This does work since location is one of the three allowed types of..
What is the best way to deal with the NSDateFormatter locale “feature”? http://stackoverflow.com/questions/6613110/what-is-the-best-way-to-deal-with-the-nsdateformatter-locale-feature @ yyyyMMddHHmmss You might want to prefix your category method somehow to avoid name conflicts just in case Apple decides to add such a method in a future version of the OS. In case..
To ARC or not to ARC? What are the pros and cons? http://stackoverflow.com/questions/8760431/to-arc-or-not-to-arc-what-are-the-pros-and-cons selling point of ARC. For 95 of code out there ARC is brilliant and there is no reason at all to avoid it provided you can handle the OS version restrictions . For non ARC code you can pass fno objc arc..
Dispelling the UIImage imageNamed: FUD http://stackoverflow.com/questions/924740/dispelling-the-uiimage-imagenamed-fud this article on iPhoneDeveloperTips.com UIImage 's imageNamed method used to leak so it was best avoided but has been fixed in recent releases. I'd like to understand the caching algorithm better in order.. to redraw often then there are alternatives although the one I would recommend primarily is to avoid redrawing that large image . With respect to the general behavior of the cache it does cache based on..
Tricks for improving iPhone UITableView scrolling performance? http://stackoverflow.com/questions/1352479/tricks-for-improving-iphone-uitableview-scrolling-performance used in the table and invalidate all the inactive entries when you receive a memory warning Draw everything in the UITableViewCell 's drawRect if possible avoid subviews at all costs or if you require the standard accessibility functionality the content view's drawRect Make your UITableViewCell 's layer opaque same goes..
Core Data - Storing Images (iPhone) http://stackoverflow.com/questions/2090028/core-data-storing-images-iphone in Core Data is as follows 100 kb store in the related entity person address whatever . 1 mb store in a separate entity on the other end of a relationship to avoid performance issues. 1 mb store on disk and reference the path in your Core Data store. You can use the transformable data type to store the NSImage directly into..
iPhone ivar naming convention [duplicate] http://stackoverflow.com/questions/2114587/iphone-ivar-naming-convention this question There is not consensus on this. Some people like to use it for clarity to separate out class variables and as another responder noted to avoid conflict with incoming parameter names. Even in Apple sample code the use is mixed. However I greatly prefer to not use the _ prefix and have two strong reasons.. given that why not name them in a way easier to read and use autocomplete on Any overlap in names from parameters is quickly revealed by the compiler and avoided through more thoughtful naming of parameters or internal variables . 2 even better reason if you use refactor in XCode on an internal class var that is named..
Objective-C categories in static library http://stackoverflow.com/questions/2567498/objective-c-categories-in-static-library forces all members of all archives to be loaded. This option allows you to target a specific archive. we can use force_load to reduce app binary size and to avoid conflicts wich all_load can cause in some cases. Yes it works with .a files added to the project. Yet I had troubles with lib project added as direct dependency...
Universal iPhone/iPad application debug compilation error for iPhone testing http://stackoverflow.com/questions/2618889/universal-iphone-ipad-application-debug-compilation-error-for-iphone-testing point forth they use different AppDelegates and I've checked my headers to ensure the UISplitView is never used nor imported via the Phone logic. How do I avoid this error and is there a better way to split the universal logic paths in this programmatically created app iphone ios ipad ios universal app share improve..
How to tell if UIViewController's view is visible http://stackoverflow.com/questions/2777438/how-to-tell-if-uiviewcontrollers-view-is-visible loaded which is unnecessary and may be undesirable. It would be better to check first to see if it is already loaded. I've added the call to isViewLoaded to avoid this problem. if viewController.isViewLoaded viewController.view.window viewController is visible Or if you have a UINavigationController managing the view controllers..
Is it true that one should not use NSLog() on production code? http://stackoverflow.com/questions/300673/is-it-true-that-one-should-not-use-nslog-on-production-code NSLog function calls throughout my code and that Xcode gcc would automatically strip those calls out when building my Release Distribution builds. Should I avoid using this If so what alternatives are most common between experienced Objective C programmers iphone objective c nslog share improve this question Preprocessor..
Check iPhone iOS Version http://stackoverflow.com/questions/3339722/check-iphone-ios-version How can I do this iphone version ios share improve this question You can get the OS version using UIDevice currentDevice systemVersion However you should avoid relying on the version string as an indication of device or OS capabilities. There is usually a more reliable method of checking whether a particular feature or..
Using the apple FFT and accelerate Framework http://stackoverflow.com/questions/3398753/using-the-apple-fft-and-accelerate-framework the 256th roots of unity of which there are 256 that will save us time later. Note that this call creates an array which will need to be released later to avoid leaking setupReal vDSP_create_fftsetup log2n FFT_RADIX2 It's worth noting that if we set log2n to eg 8 you can throw these precalculated values into any fft function..
How to link to apps on the app store http://stackoverflow.com/questions/433907/how-to-link-to-apps-on-the-app-store
iOS: Change Device Volume http://stackoverflow.com/questions/4859402/ios-change-device-volume
iOS: how to perform an HTTP POST request? http://stackoverflow.com/questions/5537297/ios-how-to-perform-an-http-post-request error NSError error This returns a NSData variable that you can process. IMPORTANT Remember to kick off the synchronous request in a separate thread to avoid blocking the UI. Asynchronously void start Don't forget to set your NSURLConnection's delegate to handle the connection as follows void connection NSURLConnection..
What's the best way to communicate between view controllers? http://stackoverflow.com/questions/569940/whats-the-best-way-to-communicate-between-view-controllers with the previous answers which focus on the importance of putting data in model objects when appropriate per the MVC design pattern . Usually you want to avoid putting state information inside a controller unless it's strictly presentation data. Second see page 10 of the Stanford presentation for an example of how to programmatically..
Tab bar controller inside a navigation controller, or sharing a navigation root view http://stackoverflow.com/questions/576764/tab-bar-controller-inside-a-navigation-controller-or-sharing-a-navigation-root animated emphasis added viewController The view controller that is pushed onto the stack. It cannot be an instance of tab bar controller. I would like to avoid private APIs and the like but I'm not sure why this usage is explicitly prohibited even when it seems to work fine. Anyone know the reason I've thought about putting..
CADisplayLink OpenGL rendering breaks UIScrollView behaviour http://stackoverflow.com/questions/5944050/cadisplaylink-opengl-rendering-breaks-uiscrollview-behaviour time as the rendering. For this you can create a GCD serial dispatch queue and use it for all of your rendering updates to a particular OpenGL ES context to avoid two actions writing to the context at the same time. Then within your CADisplayLink callback you can use code like the following if dispatch_semaphore_wait frameRenderingSemaphore..
How do I create delegates in Objective-C? http://stackoverflow.com/questions/626898/how-do-i-create-delegates-in-objective-c @selector windowDidMove self delegate windowDidMove notification The delegate property itself is typically declared weak in ARC or assign pre ARC to avoid retain loops since the delegate of an object often holds a strong reference to that object. For example a view controller is often the delegate of a view it contains...
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 it does works just fine in case n is larger the location manager should be enabled and disabled again before there is no time remaining to avoid the background task being killed. This does work since location is one of the three allowed types of background execution . Note Did loose some time by testing..
What is the best way to deal with the NSDateFormatter locale “feature”? http://stackoverflow.com/questions/6613110/what-is-the-best-way-to-deal-with-the-nsdateformatter-locale-feature with just NSDateFormatter fmt NSDateFormatter alloc initWithPOSIXLocaleAndFormat @ yyyyMMddHHmmss You might want to prefix your category method somehow to avoid name conflicts just in case Apple decides to add such a method in a future version of the OS. In case you're always using the same date format s you could also..
To ARC or not to ARC? What are the pros and cons? http://stackoverflow.com/questions/8760431/to-arc-or-not-to-arc-what-are-the-pros-and-cons work around. __weak pointers are great but they're not the #1 selling point of ARC. For 95 of code out there ARC is brilliant and there is no reason at all to avoid it provided you can handle the OS version restrictions . For non ARC code you can pass fno objc arc on a file by file basis. Xcode unfortunately makes this much..
Dispelling the UIImage imageNamed: FUD http://stackoverflow.com/questions/924740/dispelling-the-uiimage-imagenamed-fud rendering UITableView s. See this SO question for example or this article on iPhoneDeveloperTips.com UIImage 's imageNamed method used to leak so it was best avoided but has been fixed in recent releases. I'd like to understand the caching algorithm better in order to make a reasoned decision about where I can trust the system.. you need it. However if you do have a large image that you need to redraw often then there are alternatives although the one I would recommend primarily is to avoid redrawing that large image . With respect to the general behavior of the cache it does cache based on filename so two instances of imageNamed with the same name..
Tricks for improving iPhone UITableView scrolling performance? http://stackoverflow.com/questions/1352479/tricks-for-improving-iphone-uitableview-scrolling-performance the inactive entries when you receive a memory warning Draw everything in the UITableViewCell 's drawRect if possible avoid subviews at all costs or if you require the standard accessibility functionality the content view's drawRect Make your UITableViewCell..
Core Data - Storing Images (iPhone) http://stackoverflow.com/questions/2090028/core-data-storing-images-iphone in the related entity person address whatever . 1 mb store in a separate entity on the other end of a relationship to avoid performance issues. 1 mb store on disk and reference the path in your Core Data store. You can use the transformable data..
iPhone ivar naming convention [duplicate] http://stackoverflow.com/questions/2114587/iphone-ivar-naming-convention on this. Some people like to use it for clarity to separate out class variables and as another responder noted to avoid conflict with incoming parameter names. Even in Apple sample code the use is mixed. However I greatly prefer to not use.. easier to read and use autocomplete on Any overlap in names from parameters is quickly revealed by the compiler and avoided through more thoughtful naming of parameters or internal variables . 2 even better reason if you use refactor in XCode..
Objective-C categories in static library http://stackoverflow.com/questions/2567498/objective-c-categories-in-static-library be loaded. This option allows you to target a specific archive. we can use force_load to reduce app binary size and to avoid conflicts wich all_load can cause in some cases. Yes it works with .a files added to the project. Yet I had troubles with..
Universal iPhone/iPad application debug compilation error for iPhone testing http://stackoverflow.com/questions/2618889/universal-iphone-ipad-application-debug-compilation-error-for-iphone-testing and I've checked my headers to ensure the UISplitView is never used nor imported via the Phone logic. How do I avoid this error and is there a better way to split the universal logic paths in this programmatically created app iphone ios..
How to tell if UIViewController's view is visible http://stackoverflow.com/questions/2777438/how-to-tell-if-uiviewcontrollers-view-is-visible undesirable. It would be better to check first to see if it is already loaded. I've added the call to isViewLoaded to avoid this problem. if viewController.isViewLoaded viewController.view.window viewController is visible Or if you have a UINavigationController..
Is it true that one should not use NSLog() on production code? http://stackoverflow.com/questions/300673/is-it-true-that-one-should-not-use-nslog-on-production-code and that Xcode gcc would automatically strip those calls out when building my Release Distribution builds. Should I avoid using this If so what alternatives are most common between experienced Objective C programmers iphone objective c nslog..
Check iPhone iOS Version http://stackoverflow.com/questions/3339722/check-iphone-ios-version share improve this question You can get the OS version using UIDevice currentDevice systemVersion However you should avoid relying on the version string as an indication of device or OS capabilities. There is usually a more reliable method of..
Using the apple FFT and accelerate Framework http://stackoverflow.com/questions/3398753/using-the-apple-fft-and-accelerate-framework are 256 that will save us time later. Note that this call creates an array which will need to be released later to avoid leaking setupReal vDSP_create_fftsetup log2n FFT_RADIX2 It's worth noting that if we set log2n to eg 8 you can throw these..
How to link to apps on the app store http://stackoverflow.com/questions/433907/how-to-link-to-apps-on-the-app-store in the URL http itunes.com apps developername appname Additional notes You can replace http with itms or itms apps to avoid redirects. For info on naming see QA1633 https developer.apple.com library ios #qa qa1633 _index.html share improve this..
iOS: Change Device Volume http://stackoverflow.com/questions/4859402/ios-change-device-volume improve this question Using iPodMusicPlayer would affect the actual iPod volume setting as well. If you want to avoid that use this MPMusicPlayerController musicPlayer MPMusicPlayerController applicationMusicPlayer musicPlayer.volume 1 ..
iOS: how to perform an HTTP POST request? http://stackoverflow.com/questions/5537297/ios-how-to-perform-an-http-post-request a NSData variable that you can process. IMPORTANT Remember to kick off the synchronous request in a separate thread to avoid blocking the UI. Asynchronously void start Don't forget to set your NSURLConnection's delegate to handle the connection..
What's the best way to communicate between view controllers? http://stackoverflow.com/questions/569940/whats-the-best-way-to-communicate-between-view-controllers on the importance of putting data in model objects when appropriate per the MVC design pattern . Usually you want to avoid putting state information inside a controller unless it's strictly presentation data. Second see page 10 of the Stanford..
Tab bar controller inside a navigation controller, or sharing a navigation root view http://stackoverflow.com/questions/576764/tab-bar-controller-inside-a-navigation-controller-or-sharing-a-navigation-root The view controller that is pushed onto the stack. It cannot be an instance of tab bar controller. I would like to avoid private APIs and the like but I'm not sure why this usage is explicitly prohibited even when it seems to work fine. Anyone..
CADisplayLink OpenGL rendering breaks UIScrollView behaviour http://stackoverflow.com/questions/5944050/cadisplaylink-opengl-rendering-breaks-uiscrollview-behaviour create a GCD serial dispatch queue and use it for all of your rendering updates to a particular OpenGL ES context to avoid two actions writing to the context at the same time. Then within your CADisplayLink callback you can use code like the following..
How do I create delegates in Objective-C? http://stackoverflow.com/questions/626898/how-do-i-create-delegates-in-objective-c windowDidMove notification The delegate property itself is typically declared weak in ARC or assign pre ARC to avoid retain loops since the delegate of an object often holds a strong reference to that object. For example a view controller..
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 in case n is larger the location manager should be enabled and disabled again before there is no time remaining to avoid the background task being killed. This does work since location is one of the three allowed types of background execution..
What is the best way to deal with the NSDateFormatter locale “feature”? http://stackoverflow.com/questions/6613110/what-is-the-best-way-to-deal-with-the-nsdateformatter-locale-feature alloc initWithPOSIXLocaleAndFormat @ yyyyMMddHHmmss You might want to prefix your category method somehow to avoid name conflicts just in case Apple decides to add such a method in a future version of the OS. In case you're always using..
To ARC or not to ARC? What are the pros and cons? http://stackoverflow.com/questions/8760431/to-arc-or-not-to-arc-what-are-the-pros-and-cons they're not the #1 selling point of ARC. For 95 of code out there ARC is brilliant and there is no reason at all to avoid it provided you can handle the OS version restrictions . For non ARC code you can pass fno objc arc on a file by file basis...
Dispelling the UIImage imageNamed: FUD http://stackoverflow.com/questions/924740/dispelling-the-uiimage-imagenamed-fud for example or this article on iPhoneDeveloperTips.com UIImage 's imageNamed method used to leak so it was best avoided but has been fixed in recent releases. I'd like to understand the caching algorithm better in order to make a reasoned.. image that you need to redraw often then there are alternatives although the one I would recommend primarily is to avoid redrawing that large image . With respect to the general behavior of the cache it does cache based on filename so two instances..
open google maps to bus directions http://stackoverflow.com/questions/1056984/open-google-maps-to-bus-directions TP40007894 iphone google maps share improve this question From MapKiWiki dirflg Route type dirflg h Switches on Avoid Highways route finding mode. dirflg t Switches on Avoid Tolls route finding mode. dirflg r Switches on Public Transit only.. From MapKiWiki dirflg Route type dirflg h Switches on Avoid Highways route finding mode. dirflg t Switches on Avoid Tolls route finding mode. dirflg r Switches on Public Transit only works in some areas. dirflg w Switches to walking directions..
Modal box on iPhone no scroll http://stackoverflow.com/questions/12067802/modal-box-on-iphone-no-scroll in the centre of your screen overflow y scroll Ensure that the modal is scroll able webkit overflow scrolling touch Avoid having to use 2 finger scroll on iOS .modal.fade.in top 5px Use more screen real estate .modal body Increase the max..
UIWebView Movie Player getting dismissed iOS 6 bug http://stackoverflow.com/questions/12660857/uiwebview-movie-player-getting-dismissed-ios-6-bug As Below. Set The Notification for FullScreen Entry And Exit Notification SO that you could set Some Flag Value For Avoiding the Execution of SOme Piece of code. For FullSCreen Entry NSNotificationCenter defaultCenter addObserver self selector.. id sender Set Flag False. isFullscreen FALSE void viewWillDisappear BOOL animated Just Check If Flag is TRUE Then Avoid The Execution of Code which Intrupting the Video Playing. if isFullscreen here avoid the thing which you want. genrally..
Tricks for improving iPhone UITableView scrolling performance? http://stackoverflow.com/questions/1352479/tricks-for-improving-iphone-uitableview-scrolling-performance
Avoid main thread freezes when UIWebView tries to blockingly lock the web thread http://stackoverflow.com/questions/1431594/avoid-main-thread-freezes-when-uiwebview-tries-to-blockingly-lock-the-web-thread main thread freezes when UIWebView tries to blockingly lock the web thread All UIWebViews share a single web thread. When..
to drawRect or not to drawRect (when should one use drawRect/Core Graphics vs subviews/images and why?) http://stackoverflow.com/questions/14659563/to-drawrect-or-not-to-drawrect-when-should-one-use-drawrect-core-graphics-vs-su for poor responsiveness in an app is extremely expensive memory wise and really taxes the CPU. Basically that I should Avoid overriding drawRect WWDC 2012 iOS App Performance Graphics and Animations So I guess like everything it's complicated. Maybe..
Asynchronous request to the server from background thread http://stackoverflow.com/questions/1728631/asynchronous-request-to-the-server-from-background-thread with void downloadImage NSAutoreleasePool pool NSAutoreleasePool alloc init self downloadImage urlString CFRunLoopRun Avoid thread exiting pool release However this means the thread will never exit. So you need to stop it when you're done. void..
Avoid hardcoding iPhone screen size with programmatic view creation http://stackoverflow.com/questions/2530647/avoid-hardcoding-iphone-screen-size-with-programmatic-view-creation hardcoding iPhone screen size with programmatic view creation I was looking up how to create a view programmatically and..
This class is not key value coding-compliant for the key http://stackoverflow.com/questions/3088059/this-class-is-not-key-value-coding-compliant-for-the-key By the way it is bad practice to have names like string in Objective C. It invites a runtime naming collision. Avoid them even in once off practice apps. Naming collisions can be very hard to track down and you don't want to waste the time...
Avoid Video Compression when Selecting Movie with UIImagePickerController? http://stackoverflow.com/questions/3159061/avoid-video-compression-when-selecting-movie-with-uiimagepickercontroller Video Compression when Selecting Movie with UIImagePickerController I'm using UIImagePickerController to allow my user..
Why do Cocoa-Touch class ivars have leading underscore character? http://stackoverflow.com/questions/3544067/why-do-cocoa-touch-class-ivars-have-leading-underscore-character improve this question Apple likes to use underscores to mean private according to the Coding Guidelines for Cocoa Avoid the use of the underscore character as a prefix meaning private especially in methods. Apple reserves the use of this convention...
Avoid UIWebView load iTunes App http://stackoverflow.com/questions/6150088/avoid-uiwebview-load-itunes-app UIWebView load iTunes App How to avoid an UIWebView from opening the iTunes App when loading an iTunes URL Example URL..
How to protect app IPA from hacks if reverse engineering is possible http://stackoverflow.com/questions/6939222/how-to-protect-app-ipa-from-hacks-if-reverse-engineering-is-possible that such information could possibly be captured by a man in the middle attack and other modes of attack as well. Avoid security by obscurity. Store sensitive data only on disk if it is necessary. As a rule don't allow PIN TAN storage. Some..
Best practices for iOS applications security http://stackoverflow.com/questions/9448632/best-practices-for-ios-applications-security set the basic tone Use the built in APIs to store things. As Apple improves security you get the benefits for free. Avoid storing sensitive information at all and minimize the sensitivity of what you do store. Verify the services you communicate..
|