@@ -60,22 +60,22 @@ - (void)renderButtons:(UIWebView*)webView {
6060 [messageButton setTitle: @" Send message" forState: UIControlStateNormal];
6161 [messageButton addTarget: self action: @selector (sendMessage: ) forControlEvents: UIControlEventTouchUpInside];
6262 [self .view insertSubview: messageButton aboveSubview: webView];
63- messageButton.frame = CGRectMake (10 , 414 , 100 , 35 );
63+ messageButton.frame = CGRectMake (10 , 400 , 100 , 35 );
6464 messageButton.titleLabel .font = font;
6565 messageButton.backgroundColor = [UIColor colorWithWhite: 1 alpha: 0.75 ];
6666
6767 UIButton *callbackButton = [UIButton buttonWithType: UIButtonTypeRoundedRect];
6868 [callbackButton setTitle: @" Call handler" forState: UIControlStateNormal];
6969 [callbackButton addTarget: self action: @selector (callHandler: ) forControlEvents: UIControlEventTouchUpInside];
7070 [self .view insertSubview: callbackButton aboveSubview: webView];
71- callbackButton.frame = CGRectMake (110 , 414 , 100 , 35 );
71+ callbackButton.frame = CGRectMake (110 , 400 , 100 , 35 );
7272 callbackButton.titleLabel .font = font;
7373
7474 UIButton* reloadButton = [UIButton buttonWithType: UIButtonTypeRoundedRect];
7575 [reloadButton setTitle: @" Reload webview" forState: UIControlStateNormal];
7676 [reloadButton addTarget: webView action: @selector (reload ) forControlEvents: UIControlEventTouchUpInside];
7777 [self .view insertSubview: reloadButton aboveSubview: webView];
78- reloadButton.frame = CGRectMake (210 , 414 , 100 , 35 );
78+ reloadButton.frame = CGRectMake (210 , 400 , 100 , 35 );
7979 reloadButton.titleLabel .font = font;
8080}
8181
0 commit comments