background preloader

iOS

Facebook Twitter

Background fetching using NSURLSession - Corsarus. Most mobile apps aren’t open very often and tend to stay in the foreground for short time.

Background fetching using NSURLSession - Corsarus

If the app frequently updates its content from remote sources or if it occasionally performs large data transfers (like downloading audio or video files), since iOS 7 it’s possible to run this kind of tasks while the app is in the background. Thus, when the user opens the app, the latest content is immediately available without requiring any time-consuming updating action. Background fetches were introduced in iOS 7, allowing developers to improve the user experience by providing content updates even when the app is closed. This article is the logical continuation of the previous week’s blog post on NSURLSession basics.

If you’re not familiar with the session configuration settings and the different types of data transfer tasks, I strongly recommend to take a look at that article before further reading about background fetches. My adventure of posting app trailers to iTunes Connect : iOSProgramming.

iOS 9

Hardware. IOS 8. XCode. Virtual Mac. Images. Webview. Valeriomazzeo/NSString-Emoji · GitHub. Titanium - How to remove navigation bar drop shadow in iOS 6 - Exygy. Normally, Titanium doesn’t provide the necessary options to remove the navigation bar shadow (as shown below).

Titanium - How to remove navigation bar drop shadow in iOS 6 - Exygy

But our client preferred a nav bar without the shadow so I figured out it could be removed by modifying the Titanium iOs code. Here’s how it works: Open your app in Xcode and locate the file Classes>Modules>UI>iOs>iPhone>Nav Group>TiUIiPhoneNavigationGroup.m: simply add the following to the “controller” function controller.navigationBar.clipsToBounds = YES; so it looks like the following: Recompile your app and that’s it, the shadow is gone (woo!) Ios - Make UINavigationBar transparent. Iphone - Make custom back button's clickable area smaller in Navigation controller. UIView Tutorial for iOS: How To Use UIView Animation. This post is also available in: Japanese If you're new here, you may want to subscribe to my RSS feed or follow me on Twitter.

UIView Tutorial for iOS: How To Use UIView Animation

Thanks for visiting! Use animation to see what's inside this picnic basket! One of the coolest things about iPhone apps is how animated many of them are. You can have views fly across the screen, fade in or fade, out, rotate around, and much more! Not only does this look cool, but animations are good indicators that something is going on that a user should pay attention to, such as more info becoming available.

The best part about animation on the iPhone is that it is incredibly easy to implement programmatically! In this UIView tutorial, you’ll get a chance to go hands-on with UIView animation to create a neat little app about going on a picnic. In the process, you will learn several stuff, among other, how to use UIView animations in both the standard way and the newest iOS 6 manner. So grab your picnic basket and let’s get started! JonasGessner/JGProgressView. Gekitz/GKImagePicker. Technical Q&A QA1629: Technical Q&A QA1629.

Technical Q&A QA1629 A: The -[UIApplication openURL:] method handles links to applications and media by launching the appropriate store application for the passed NSURL object.

Technical Q&A QA1629: Technical Q&A QA1629

Follow the steps below to obtain a link to an application, music, movie, or TV show sold on iTunes, and link to it from your iOS application: Launch iTunes on your computer.Search for the item you want to link to.Right-click or control-click on the item's name in iTunes, then choose "Copy iTunes Store URL" from the pop-up menu.In your application, create an NSURL object with the copied iTunes URL, then pass this object to UIApplication' s openURL: method to open your item in the App Store. See Listing 1 for an example that launches the App Store from a native application. Technical Q&A QA1633: Technical Q&A QA1633. iOS7 fails to Launch App-Store app review page - iOS - Corona Labs Forums. Hi Rob, I thought I'd jump in and try to clarify.

iOS7 fails to Launch App-Store app review page - iOS - Corona Labs Forums

On iOS, native.showPopup("rateApp") has always worked. Beginning in iOS 6, it opens the app's App Store page. The user must then make one or two taps to start actually rating the app and writing a review. However, ingemar is pointing out that this isn't the best approach from a developer standpoint to get the most reviews. Now that the special URL method works again in iOS 7.1, he (and I) may go back to using it instead of native.showPopup("rateApp"). CS 193P iPhone Application Development.