GithubHelp home page GithubHelp logo

tsimehcppa / deviceaccessviewcontroller Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zsy78191/deviceaccessviewcontroller

0.0 2.0 0.0 81 KB

授权管理页面

License: MIT License

Objective-C 100.00%

deviceaccessviewcontroller's Introduction

DeviceAccessViewController

授权管理页面

##6.12更新autolayout,支持到7.0

7.0中不能使用跳转到Settings的功能。

##使用方法

随处可用

DeviceAccessViewController* dvc = [[DeviceAccessViewController alloc] initWithNibName:@"DeviceAccessViewController" bundle:[NSBundle mainBundle]];
[self.navigationController pushViewController:dvc animated:YES];

请在Application的代理文件中,引用#import "DeviceAccessViewController.h" 然后添加如下代码通知DeviceAccessViewController处理注册通知的回调。

- (void)application:(UIApplication *)application didRegisterUserNotificationSettings:(UIUserNotificationSettings *)notificationSettings
{
    [[NSNotificationCenter defaultCenter] postNotificationName:UIApplicationDidRegisterUserNotificationSettingsNotification object:nil userInfo:@{@"settings":notificationSettings}];
}

就这些。

deviceaccessviewcontroller's People

Contributors

zsy78191 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.