How to wrap texts in UITableviewcell on iPhone?
How to wrap texts in UITableViewcell on iPhone? ...
How to wrap texts in UITableViewcell on iPhone? ...
I'd like to launch a modal view controller the way one does with 'ABPeoplePickerNavigationController' and that is without having to creating a navigation controller containing the view controller. Doing something similar yields a blank screen with no title for the navigation bar and there's no associated nib file loaded for the view eve...
Is there a way to make a custom animation when clicking on an iPhone button? I would like something like the App Store button - it shows the price, and then when you click on it, it changes color and the text changes to buy now, then when you click it again, it completes the purchase. The UIViewAnimationTransition only contains a few v...
I'm debugging a program that was written for iPhone OS 2.2.1 and has to be slightly rewritten for 3.0. Having a list of all the Objective-C message calls that are being made, including "behind-the-scenes" calls, would be very useful. I found NSObjCMessageLoggingEnabled on a website, but am not sure if it works with the iPhone. Does ...
I'm currently migrating my sqllite application to using core data. When I created the data model I noticed that an attribute can be marked as and Identity property. Happily I marked that attribute as required and indexable only to find out that I have to supply the value myself or the insert of the entity fails, which kind of takes away ...
Cocos2D defines the static method 'actions' for the Sequence class as such: +(id) actions: (FiniteTimeAction *) action1, ... { /* omitted */ } How could I build a list of actions to perform at run-time, perhaps read from a disk file or such? I read that the variable length argument list can be translated into a (char *) and passed in...
Version 1.0 of an application has a data model, which is saved/loaded using the NSKeyed(Un)Archiver classes, as all model classes adhere to the NSCoding protocol. Say the following hierarchy exists: -> Houses (NSMutableArray) -> -> House (Custom Object) -> -> -> Color (3 ints, RGB) -> -> -> Number of Residents (int) Say that there are...
I want to be able to take a UIImage instance, modify some of its pixel data, and get back a new UIImage instance with that pixel data. I've made some progress with this, but when I try to change the array returned by CGBitmapContextGetData, the end result is always an overlay of vertical blue lines over the image. I want to be able to ...
I have been lead to believe that it is possible to pass a class as a method parameter, but I'm having trouble implementing the concept. Right now I have something like: - (id)navControllerFromView:(Class *)viewControllerClass title:(NSString *)title imageName:(NSString *)imageName { ...
im animating an 89 frame png sequence, that has been cut down to half by putting two frames per 512 x 512 frame. but im having major image qaulity issues (lossy) does anyone know of a good way to animate an 89 frame animation, without losing quality or chugging the processor? all the best. ...
Hi there! I'm trying to create a very simple keyframe animation, whereby a graphic Rotates from one angle to another, through a given midpoint. (The purpose is to be able to animate rotation through an OBTUSE angle of arc GREATER THAN 180 DEGREES, rather than having the animation 'cheat' and go the shortest route, i.e., via the oppos...
I noticed that IM+ came out today and lists it's minimum requirements (in iTunes) as OS 2.2 or later, but they support 3.0 features like push. Is it possible to build an app (eg: one binary) for firmware 2.1 that has features like push (or SMS or whatever) that are only enabled on phones with the 3.0 firmware? It seems like it is, but I...
Hi, How can I detect a double tap on a certain cell in UITableView? i.e. I want to perform one action if the user made a single touch and another if a user made a double touch? I also need to know an index path where the touch was made. How can I achieve this goal? Thanks. ...
I have created application in iPhone OS 2.2.1 which contains one table view and text view . Whole application is working fine in all iPhone OS version except 3.0. In iPhone OS 3.0 when I press next button then table view reloads so while reloading it shows some line in between the cells. So can any one suggest me what will be the prob...
Hi, I've got a timer which fires when viewWillAppear method is being called and invalidates when viewDidDisappear method is being called. But after a certain amount of switching between views the timer continues firing even after it was invalidated. What's the problem? Here is my code: NSTimer *timer; - (void)viewWillAppear:(BOOL)ani...
Anybody is seeing this behavior on iPhone 3.0? On my app, touching on the video link/button will take about 4-5 seconds before the movie player will show up on the screen. This doesn't look right. Anybody have any suggestion to decrease this "wait time"? ...
Hi, what are best pratices to reuse UIViewControllers? In many apps (including Apple's own examples: e.g. SQLiteBooks), UIViewControllers are allocated and initialized everytime, a UIViewController is pushed to the stack. This increases the use of memory with every new controller, because the objects stay in memory and aren't used again...
I'm using a MKMapView inside an iPhone app. When I click a buttom the zoom level must increase. This is my first approach: MKCoordinateRegion zoomIn = mapView.region; zoomIn.span.latitudeDelta *= 0.5; [mapView setRegion:zoomIn animated:YES]; However, this code had no effect, since I didn't update the longitudeDelta value. So I added t...
Hello. First, thanks for the StackOverflow team, cause it's a very useful website, since i'm developping on iPhone. Secondary, please excuse my language. I'm a frenchie and like every frenchies i'm very bad in english. I've a very strange problem with my sounds in my iPhone program : I implemented a class which play a short sound in aif...
A lot of apps pop up a transparent view with rounded corners and an activityIndicator when running a time consuming operation. How is this rounding done and is it possible to do it just using Interface Builder (as there are lots of places I'd like to use something like this)? Or, should I use an imageview with a rounded rect or stretcha...