- 会社アンジー
- メンバー3人でやってる
- 本やアプリを作っている
- 作ってる人
- Conference With Developers 2
- あくまで個人のメモです。誤りありましたら教えてくださいmm (@himara2)
- 資料はこちら
- ninjinkunさん
+ (instancetype)view {
NSString *className = NSStringFromClass([self class]);
return [[[NSBundle mainBundle] loadNibNamed:className owner:nil options:0] firstObject];
}
#import "ATDAppDelegate.h"
ATDAppDelegate *appDelegate = (ATDAppDelegate *)[[UIApplication sharedApplication] delegate];
[appDelegate.window addSubview:self];
- カラーピッカーにHexを追加する
- 導入方法
- UIColorにカーソルがあたると、ポップアップで色を表示してくれる
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Hello World</title> | |
<link rel="stylesheet" type="text/css" href="css/style.css"> | |
</head> | |
<body> | |
<h1>Hello!</h1> |
Resetting the Push Notifications Permissions Alert on iOS
The first time a push-enabled app registers for push notifications, iOS asks the user if they wish to receive notifications for that app. Once the user has responded to this alert it is not presented again unless the device is restored or the app has been uninstalled for at least a day.
If you want to simulate a first-time run of your app, you can leave the app uninstalled for a day. You can achieve the latter without actually waiting a day by following these steps:
Delete your app from the device.
Turn the device off completely and turn it back on.
Go to Settings > General > Date & Time and set the date ahead a day or more.
Turn the device off completely again and turn it back on.
OlderNewer