Skip to content

Instantly share code, notes, and snippets.

View nullpixel's full-sized avatar

nullpixel nullpixel

View GitHub Profile
@nullpixel
nullpixel / gist:9d6ba16592ce2c0ee84f5c09318dc306
Last active January 29, 2017 12:41 — forked from steventroughtonsmith/gist:6763213
Non-opaque application windows in iOS 7, with optional blur. Shows the user's wallpaper under the app, with Parallax if supported.
typedef NS_ENUM(NSUInteger, UIBackgroundStyle) {
UIBackgroundStyleDefault,
UIBackgroundStyleTransparent,
UIBackgroundStyleLightBlur,
UIBackgroundStyleDarkBlur,
UIBackgroundStyleDarkTranslucent
};
@interface UIApplication (UIBackgroundStyle)
-(void)_setBackgroundStyle:(UIBackgroundStyle)style;
<!--
Copyright (C) 2016 Jamie Bishop
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of

Keybase proof

I hereby claim:

  • I am nullpixel1 on github.
  • I am nullpixel (https://keybase.io/nullpixel) on keybase.
  • I have a public key ASCmc9LNJf1rpn_QJD2ZgNxn0kCWS3HxQz6HsPkhzvziCAo

To claim this, I am signing this object: