回答編集履歴

2

AppDelegate -> AppController

2015/11/06 15:50

投稿

fuzzball
fuzzball

スコア16731

test CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  // 投稿ダイアログの表示
6
6
 
7
- let appDelegate = UIApplication.sharedApplication().delegate as! AppDelegate
7
+ let appDelegate = UIApplication.sharedApplication().delegate as! AppController
8
8
 
9
9
  appDelegate.window!.rootViewController!.presentViewController(twitterPostView, animated: true, completion: nil)
10
10
 

1

Bridging-Header\.hについて追記

2015/11/06 15:50

投稿

fuzzball
fuzzball

スコア16731

test CHANGED
@@ -9,3 +9,19 @@
9
9
  appDelegate.window!.rootViewController!.presentViewController(twitterPostView, animated: true, completion: nil)
10
10
 
11
11
  ```
12
+
13
+
14
+
15
+ 【追記】
16
+
17
+ もし`プロジェクト名-Bridging-Header.h`というファイルがあるなら、その中に、
18
+
19
+ ```
20
+
21
+ #import "AppDelegate.h"
22
+
23
+ ```
24
+
25
+ を追加してみて下さい。
26
+
27
+