So I have a subclass of a UIView that starts causing EXC_BAD_ACCESS errors when I go through a specific set of conditions (run on iPad instead of iPhone or simulator, first login only). It throws the exception when the UIView subclass gets autoreleased from the pool (i.e. the pool is releasing, not when I'm calling [view autorelease], du...
Hello,
I was followed this tutorial (iPad Hello World) and was wondering if it would be possible to group items together on the table view. Basically, when the user opens the app the table view would say something like: Group 1, Group 2, and Group 3. When the user tabs on one group the table view would load the items in the group. If an...
Here's an example of the type of background image I'm talking about, the iPhone Notes app...
Clearly, there's a pattern in it. My question is, if this were an iPad app and the background image was twice the size, would there be any significant benefits to taking advantage of this pattern by tiling the image? Or would it really make ...
I have a split view app running fine on the iPad. It is using the default setup (Popover in Portrait, table view on the left in landscape). The views shift correctly once the app is running. The problem I am seeing is that when the app starts (in the simulator) running in landscape mode the UI paradigm is the one intended for Portrait...
I'm updating a music app I have with the ability to share your .wav recordings via Twitter (this is somewhat similar to TweetMic). The app already has e-mail sharing and has functioning text-only tweet capability using the code from iCodeBlog's Twitter tutorial. Somehow, I can't figure out how to use something such as chir.ps or some o...
Hi,
When I set the backgroundColor for my UITableView it works fine on iPhone (device and simulator) but NOT on the iPad simulator. Instead I get a light gray background for any color I set including groupTableViewBackgroundColor.
Steps to reproduce:
Create a new navigation-based project.
Open RootViewController.xib and set the table...
I have the iPhone SDK 3.2 installed and been working on an iPad application. However, the iPad simulator doesn't show the two gray multitouch "cursors" when I hold down the ALT/OPTION button and move the mouse around. This only happens when the simulator scale size is set to 100%. If I have it set to 50% they show up. When I have it set ...
Hi,
I want to create and sell book / cartoons by individual episodes.
What's the best way to to this? iBook from the apple store tends to sell by entire volume / book... I see an App from Marvel sells its contents by individual episodes, but I don't want to create / maintain shopping carts and stuff. (I am assuming iPad / iPhone users...
Any methods would be useful! (to clarify: by render, I mean create, not playback)
...
I am trying to compare the current url in webView with a defined url say google.com
so in theory..
NSURLRequest *currentRequest = [webView request];
NSURL *currentURL = [currentRequest URL];
would give us our current url...
NSString *newurl = @"http://www.google.com";
this would give us the compared to defined url
while (!cu...
Hi there,
I'm beginning in iPhone/iPad game dev and I'm searching to set up my learning path.
The basic features I would like to learn (after the basic SDK iphone components programming) are :
using a board like interface where I can move pawn with my fingers
detect where the pawn was moved and triggers events in the game
The board wi...
I am doing an app with about 6-7 views and their corresponding controllers. I am in a view with a toolbar and button.
When I click this button a popup view comes and my control is being moved to the popup view's Controller. But my view is still the same.
From this popupview Controller's class, I want to change my original view. But sin...
Hey Guys,
I gave an app in the app store got ipad. I also made a app for the iPhone now.
What you guys suggest should I create a new app for the iPhone or is there way to add my iPhone binary to my current ipad app?
Thanks for your help.
...
Hello,
I'm trying to figure out how to group items like the grouped mail boxes in the mail app. I need it to be like selecting a mail box, when you tap it it loads new data, your inbox outbox and all of the other boxes for that mail account. Then you can tap back and return to all of your accounts. If anyone has a little sample code the...
I can get the UIPinchGestureRecognizer handler to work with scaling an object but I don't want to scale I want to change the size. For example I have a UITextView and I've attacked a UIPinchGestureRecognizer gesture to it and if the user pinches I want to change the width of the textview to match the pinch. I don't want to scale it so t...
How do I display a low resolution image on a page and then after a second delay load a high resolution version? Is this done with layers? Threads?
...
I have a UITableView containing names that I would like to group (and sort) by the first letter (similar to the Address Book application). I am currently able to match any section ('A'-'Z') using:
// Sections is an array of strings "{search}" and "A" to "Z" and "#".
NSString *pattern = [self.sections objectAtIndex:section];
NSPredicate ...
hi,
i have following problem: i generate subviews UIView in an UIScrollView including UIImageViews.
NSArray *bilder = [[NSArray alloc] initWithObjects:@"lol.jpg", @"lol2.jpg", nil];
NSArray *added = [[NSMutableArray alloc] init];
UIImageView *tmpView;
for (NSString *name in bilder) {
UIImage *image = [UIImage imageNamed:name];
...
Hello,
I have heard that you can make a view popup like in the Mail app for iPad by using modalPresentationStyle. Im having a hard time figuring out how to use it though. I looked a this post here and still couldn't figure out how to do this task. If anyone could explain how to hook up the controllers to make this code work that would b...
I'm trying to implement a MPMoviePlayerView but I can't play the video files, I don't have a device yet to try it on, now I'm testing with simulator, I don't know if this is the cause.
So far I've been able to present the view and it shows the first frame of the video, but if I click play, it doesn't play I can move the progress bar and...