Skip to content
Proyek

mtonio91/AMLoginViewController

Lihat di GitHub

Tentang

LoginViewController with Video and Blur

Desain dan media

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
0
dalam 15 hari
0
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

AMLoginViewController

I originally created this controller for a school project in order to deliver the coolest app possible. I hope this will be useful for other people.

Screen1 Screen2

NB: this is login view, so it's not supposed to be used a long time, the big cpu use because of the blur effect processing shouldn't have a this important impact on the mobile's battery life.

##Known issues

• when blur effect is activated, the video won't work on the simulator. You have to compile it on a device. Or just disable the blur effect to make it work on the simulator.

• arm64 devices seems not compile the demo project because of GPUImage which doesn't support it yet.

You can disable blur effect in order to improve CPU use (from 25% to ~0%)

##Installation

It uses :

  • GPUImage Framework
  • AVFundation Framework

Be sure to get those notifications in your appDelegate, in order to resume the video on app resume


- (void)applicationWillResignActive:(UIApplication *)application
{
    [[NSNotificationCenter defaultCenter] postNotificationName:@"PauseBgVideo"object:self];
}

- (void)applicationDidBecomeActive:(UIApplication *)application
{
    [[NSNotificationCenter defaultCenter] postNotificationName:@"ResumeBgVideo"object:self];
}

Antoine

Jelajahi proyek terkait

Memuat…