Note that there are some explanatory texts on larger screens.

plurals
  1. POTransparent UITableView on top of several UIViewController and OpenGLView (Cocos2D)
    primarykey
    data
    text
    <p>Here is my code : </p> <pre><code>// View Controller with navigation bar InAppPurchaseViewController *purchaseViewController = [[InAppPurchaseViewController alloc] init]; purchaseViewController.title = @"Magasin"; purchaseViewController.navigationItem.rightBarButtonItem = [[[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemDone target:self action:@selector(dismissViewController:)] autorelease]; UINavigationController *navController = [[[UINavigationController alloc] initWithRootViewController:purchaseViewController] autorelease]; // Add `purchaseViewcontroller` TO container AND container ON openGLView UIViewController *container = [[UIViewController alloc] init]; [container setView:[[CCDirector sharedDirector] openGLView]]; [container setModalTransitionStyle: UIModalTransitionStyleCoverVertical]; [container presentViewController:navController animated:YES completion:nil]; </code></pre> <p>The <code>UITableView</code> is in purchaseViewController. </p> <p>I was thinking of using <code>[UIColor clearColor]</code>, BUT whatever I use it on I get a BLACK background on my <code>UITableView</code>. The cells get unselectable and unslidable (apart from the elements that are into the cells)</p> <p>EDIT : The appdelegate</p> <p>Here is the .h</p> <pre><code>@class AudioEngine; @class RootViewController; @class Score; @interface AppDelegate : NSObject &lt;UIApplicationDelegate, GameCenterManagerDelegate&gt; @property int CurrentPackage; @property int CurrentScore; @property int CurrentHighScore; @property BOOL SoundShouldPlay; @property BOOL PauseScreenUp; @property(nonatomic, retain) AudioEngine *CustomAudioEngine; @property(nonatomic, retain) GameCenterManager *CustomGameCenterManager; @property(nonatomic, retain) UIWindow *window; @property(nonatomic, readonly) RootViewController *ViewController; @property(nonatomic, retain) NSString* CurrentLeaderBoard; @property(nonatomic, retain) NSMutableArray *TenLastScoresArray; +(AppDelegate *)get; -(void)connectToGameCenter; -(void)addScoreToLastScore:(Score*)score; </code></pre> <p>And the method did finish launching</p> <pre><code>-(void)applicationDidFinishLaunching:(UIApplication*)application { CC_DIRECTOR_INIT(); self.CurrentLeaderBoard = kLeaderboardID; [[SKPaymentQueue defaultQueue] addTransactionObserver:[InAppPurchaseSingleton sharedHelper]]; [AudioEngine preloadBackgroundMusic]; [AudioEngine playBackgroundMusic:3]; self.SoundShouldPlay = YES; [SceneManager goSplash]; } </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload