Help us understand the problem. What is going on with this article?

webViewのWebGLを有効にする

More than 5 years have passed since last update.
// WebGL を ON にする (OSX)
WebPreferences *pref = [webView preferences];
[pref performSelector:@selector(setWebGLEnabled:) withObject:[NSNumber numberWithBool:YES]];

iOSの場合は少し違います。

// WebGL を ON にする (iOS)
id webDocumentView = [webView performSelector:@selector(_browserView)];
id backingWebView = [webDocumentView performSelector:@selector(webView)];
[backingWebView setValue:[NSNumber numberWithBool:YES] forKey:@"WebGLEnabled"];
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away