Hello,
I'm building an app which includes a number of image sequences (5 sequences with about 80 images each). It runs nicely in the iPhone simulator, but causes my iPhone to reboot when I test it. By the way, each png image is about 8k in size.
Has anyone successfully built a similar app?
Am I using too many resources for the iPhone to...
I've got a navigation controller set up and on the root view, there's a tab bar at the bottom. When I push to the next view and pop back, the position of tab bar changes and no matter what mask I set, it won't stay at the bottom of the view.
I'm also using prompts in my navigation item so maybe that accounts of the change in position.
...
I use fotolio.com for images in my iPhone apps. However, button images are always lacking in the SDK. Are there any good resources for iPhone button images? These are different from the large number of iPhone app icon images that are available everywhere.
...
I am trying to develop an app which can have multiple views (up to 30). Each view will have have similar navigation but the content will be different. Do I have to create 30 view controllers or can I get around by creating a view controller for the data (content) alone. I am sure creating multiple view controllers is going to be ineffice...
I'd like to emulate the compose mail screen of Apples iPhone app. At this moment I have a UITableView with some cells. The last cell contains a UITextView. I managed to get the scrolling the way I like, but one problem remains: how to let the UITextView and the UITableViewCell automatically grow in height when the user enters a new line ...
I have a UITableView whose data source and delegate are switched between a couple of custom data source objects when the user touches a segmented control (think "Top Paid" vs "Top Free" in the app store app).
Each data source object saves its last scroll content offset, and restores it when it becomes the active data source for the tabl...
Hi,
I have a custom class "Person".
Several Person objects have been created and added to an NSMutableArray called 'personArray'.
I'm then going to pass one of these to the next view, called userView.
These have all been Allocated and Initialised.
The code I am using is:
[userView setPerson:[personArray objectAtIndex:indexPath.row]...
I'm building a plain style table view with a search bar and I'm having trouble replicating the look of the "gutter" (when the table view is dragged down) in Apple's table views.
If I set the background color of the table view, the gutter looks fine, but my cells use that color as the background color.
I've tried setting the backgrou...
Hello,
So I want to bring in a modal view controller that has a UITextView in it and I want the keyboard to automatically popup and the UITextView have focus.
I found a way to accomplish this by doing the following:
textView.editable = YES;
textView.editable = NO;
This just seems hacky to me, is there another way?
...
Ok so in mobile safari you can pull up a web page and touch and hold on an image to save it to the iPhone's photo library. In a UIWebview on a view this does not happen (it pops up the alt-text and never prompts you). I'm wondering if anyone knows a way to turn this feature on.
...
Hi,
I am creating a view controller that will be used to enter text information.
The view itself consists of a label, text field and two buttons in the navigation bar: "cancel" and "OK".
When user presses "cancel" I am just popping back to the root view controller.
But when he presses OK, I want first to call a function from the root...
Is there a way to know when the dismissModalViewControllerAnimated is initiated and when it is completed (such as the idiom for viewWillAppear and viewDidAppear)? Unlike other animations, this one doesn't seem to have a delegate that tells you.
...
Hi,
how do I get a list of e.g. Restaurants around me? As far as I can see, google enables JS requests only, right? I would not want to use the WebView for that. Are there any other ways to get it? May be not google?
I'm wondering because it's such a common task, but I've found no info on the net about it..
Cheers
...
I have about 10 images in my app. They are in the bundle as resources. Is it better to load them from the bundle on each app start? Or deploy them to disk once and always load from disk?
...
What is meant by mach_msg_trap error?
I'm developing an application with core-data. I get this error when ManagedObjectContext if a different thread is "used" the second time.
I've a producer consumer kind of threading system. The producer thread and the consumer thread uses the same underlying sqlite db, but different managedobjectConte...
Hi, is there a way to have multiple lines of text in UILabel like in the UITextView or should I use the second one instead?
Thanks.
...
i am planning start my iphone development, and i have a iMac with tiger 10.4 OS version, planning to upgrade to Leopard 10.5.6 OS X, but i heard apple going to release the Snow Leopard in september, will development environment shift to snow leopard instead of leopard,and Leopard 10.5.7 no longer be used to development?is now a good tim...
Hi all,
I am using a UIWebview for loading the web pages in my application.
Since the UIWebView automatically supports the zooming and pinching effect, so it there any way to control this zooming and pinching effect?
I want to trace the scaling of the view?
Is there any way to handle the zooming and panning inside the UIwebView ?
An...
Here is the gist of some code I'm writing. I'm concerned that I am not properly addressing the retain/release issues with the array class method on NSMutableArray. Is the following actually leaking memory?
for(a while) {
// do stuff
NSMutableArray *a = nil;
// do stuff
if (!a) {
a = [NSMutableArray array];
}...
I have a ball assigned to a UIImageView in Interface Builder. An IBOutlet from the UIImageView is wired to a corresponding UIViewController. The image has a white background. When I assign it to the UIImageView in IB, the background is transparent. In IB, I have the UIImageView set to a transparent background and aspect fill.
When ...