Set UIWebView Content not to Scroll When Keyboard is Shown
This week, I have met a problem when I am developing a hybrid app with Cordova (Phonegap). The Cordova app is basing on UIWebView. So the whole app is build by HTML5, Javascript and CSS. Usually,...
View ArticleiOS Timer Tutorial in Swift
Timer is a very common method to perform a schedule task within a period of time. We can execute the timer once or repeatedly. In this tutorial, I will show you how to use iOS timer in Swift. Once you...
View ArticleXIB vs Storyboard, Which Shall I Choose in iOS Project
xib is the common way to build UI in Xcode. After Xcode 5.5, Apple introduced a new concept, storyboard. The purpose is to provide a better way to make UI simple and easy to manage. If you like, you...
View ArticleDownload File in iOS Start Pause and Resume
Downloading files is a common task in most of the iOS app. If you are building an ebook reader, or a comic book reader app, downloading ebooks will be a necessary feature. Last time, I am using a news...
View ArticleSave and Load Downloaded File Locally
My Download Manager app is a real project which will manage download tasks. It allow users to start download a file, pause or resume the download task, and stop a download task. In tutorial 1, I...
View ArticleiOS CollectionView Brief Tutorial
UICollectionView is widely used in iOS apps. The most common example is the iOS photo app, which has a stylish way to display all photos in grid view or stack view. The collection view provide a simple...
View ArticleDownload Multiple Files Simultaneously in iOS
Downloading multiple files concurrently is a necessary feature for a download manager app. Using UITableView is the best solution to manage multiple downloading tasks at the same time. In a table, we...
View Article8 Best iPhone Tips & Tricks to Try
Each year in autumn, Apple has a tradition to surprise its fans with new devices, features, and new operating systems. Thus Apple devices, including iPhones, have so many features that no matter if...
View ArticleDownload File in Swift5 Start Pause and Resume
Several years ago, I post an article to demostrate how to implement download file features in iOS. In that article, I am using swift 2 to write all features including start, pause, resume and show...
View ArticleDownload and Save File in iPhone by Swift
In a modern iPhone app, a smooth user experience is quite important. To achieve this, caching the internet resources to local is a good approach. Therefore, to make the app more smoothly when users...
View Article