#import <UIKit/UIKit.h> //WebViewExの宣言 @interface WebViewEx : UIView <UIWebViewDelegate> { UIWebView* _webView; UIView* _indicator; } @end #import "WebViewEx.h" //WebViewExの実装 @implementation WebViewEx //インジケータの生成 - (UIView*)makeIndicator { //背景 UIView* view=[[[UIView alloc] initWithFrame: CGRectMake(0,0,320,480)] autorelease]; [view setBackgroundColor:[UIColor blackColor]]; [view setAlpha:0.4f];