Analysis updated 2026-07-03
Add a full-screen launch ad with a skip button to an iOS app using a few lines of Objective-C configuration.
Show a promotional image or video on app launch that opens a URL when tapped.
Pre-cache the next ad in the background so it displays instantly on the next app open without a loading delay.
Display a launch ad that works offline by serving a locally cached version when no network is available.
| coderzhuxh/xhlaunchad | leichunfeng/mvvmreactivecocoa | yalantis/foldingtabbar.ios | |
|---|---|---|---|
| Stars | 3,684 | 3,696 | 3,671 |
| Language | Objective-C | Objective-C | Objective-C |
| Setup difficulty | easy | moderate | easy |
| Complexity | 2/5 | 3/5 | 2/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Install via CocoaPods, requires iOS 8 or later.
XHLaunchAd is an iOS library that adds a launch screen advertisement to iPhone and iPad apps. Many apps show a full-screen or half-screen image or short video when they first open, with a countdown timer and a skip button. This library handles all of that so developers do not have to build it from scratch. The library supports static images, animated GIFs, and MP4 video ads. Images can be loaded from the app bundle or downloaded from a remote URL. Once downloaded, the library caches them locally so that subsequent app launches can show the ad immediately without waiting for a network request. There is also a pre-caching API that lets you download and store the next ad in the background before it is needed. You configure the ad by creating a configuration object and setting properties on it: the image or video URL, how long to display it, the frame size, what happens when the user taps it, whether a skip button appears and what style it uses, and what animation plays when the ad finishes. The library calls a delegate method you provide when the user taps the ad, passing along whatever model object you attached to the configuration. The README is written in Chinese and covers the main use cases with code samples in Objective-C. It also explains common problems developers run into, such as why the app might jump to the root view controller before the ad appears (you need to call setWaitDataDuration before making your ad data request), and why cached ads do not display when the network is off (you need to initialize the ad inside your request failure callback as well). Installation is done through CocoaPods. The library supports iOS 8 and later.
XHLaunchAd is an iOS Objective-C library that adds a full-screen launch advertisement with a countdown timer and skip button to iPhone and iPad apps, supporting images, GIFs, and MP4 videos with automatic local caching.
Mainly Objective-C. The stack also includes Objective-C, iOS, CocoaPods.
Setup difficulty is rated easy, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.