can in-app purchase display images?

Member
Posts: 164
Joined: 2010.10
Post: #1
i have set a function that retrive values for in-app purchase:
Code:
- (void)productsRequest:(SKProductsRequest *)request didReceiveResponse:(SKProductsResponse *)response {
    
    // Populate the inappBuy button with the received product info.
    SKProduct *validProduct = nil;
    int count = [response.products count];
    for (int i=0; i<count; i++) {
        validProduct = [response.products objectAtIndex:i];
        NSString *rowText = [[NSString alloc] initWithFormat:@"%@ - Buy %@", validProduct.localizedTitle, validProduct.price];
        
    }
    
    
    
    
    if (count>0) {
        validProduct = [response.products objectAtIndex:0];
    }
    if (!validProduct) {
        [inappButton setTitle:@"No Products Available" forState:UIControlStateNormal];
        inappButton.enabled = NO;
        return;
    }

    NSString *buttonText = [[NSString alloc] initWithFormat:@"%@ - Buy %@", validProduct.localizedTitle, validProduct.price];
    [inappButton setTitle:buttonText forState:UIControlStateNormal];
    inappButton.enabled = YES;
    [buttonText release];
}
works well. i'm wondering if can i display the image i have uploaded other than validProduct.localizedTitle, validProduct.price
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  inapp purchase server side sefiroths 0 3,137 Sep 28, 2012 08:47 AM
Last Post: sefiroths
  in-app purchase after rejected app, item with status="developer action needed" sefiroths 2 11,330 Jan 18, 2012 03:33 AM
Last Post: sefiroths