iOSでgoogle mapを表示しているのですがこの上にボタンを入れたいのです
画面の初期化時
UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
[button addTarget:self
action:@selector(aMethod:)
forControlEvents:UIControlEventTouchUpInside];
[button setTitle:@"Show View" forState:UIControlStateNormal];
button.frame = CGRectMake(80.0, 210.0, 160.0, 40.0);
[self.view addSubview:button];
で入れると 透過ボタンに何故かなってしまいます
button.backgroundcolorを指定しても同じでした。
これを非透過の通常のボタンに変えたいのですがどうすればいいですか?
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。