I'm developing a web site for the iPhone.
One script that I'm using as a work around for the unsupported "position=fixed" class positions the div perfectly and lets the user scroll through the list while this div stays put. Works perfectly except when the user types something in the text field in the "fixed position" div. The standard ...
Does anyone know how to update a property value from the subview (child) view controller?
I have a int property called statusid defined with gettor/settor in parent view controller.
[self.view addSubview:detailsVC.view];
In the child subview, I trying calling [super statusid:updatedValue]; to update statusid to a new value, but this cre...
What's the best practice for drawing a closed, filled path where each line has a different stroke?
...
I have created a flexible navigation bar in my app that will show custom buttons on the left, right, and in the middle. So far I have got working:
Right/Left/Middle - Custom Image and/or Text
Right/Left - Normal looking button with custom Image in it
Right/Left - Normal looking button with custom Text in it
By 'normal looking' I mea...
I have following code in my application:
// to set tip - photo in photo frame
NSData *data = [[NSData alloc] initWithContentsOfURL:[NSURL URLWithString:pathOfThumbNail]];
UIImage *cellThumbImg;
if([data length]>0){
cellThumbImg = [UIImage imageWithData:data];
} else {
cellThumbImg = [UIImage imageNamed:@"130X90.gif"];
}
UI...
Hello all,
I want to add some text which is a long text lets say a story and I want it to be presented in a moving up fashion. That is it will be displayed in a box and the text will be moved line by line to show the whole story. So one line gets out of the box from top and other comes from the bottom. Like a HTML marquee behavior.
...
"Write native iPhone applications using Eclipse
CDT
How Windows and Linux developers can bypass the iPhone
SDK and write iPhone apps using open source tools"
by PJ Cabrera ([email protected])
I was following the instructions from this document and thought I made it pretty far, but I get an error and wondered if you know what is going ...
This is pretty much the same problem i have, except with very different code: http://www.cocoabuilder.com/archive/message/cocoa/2009/3/24/233015
I want to offload some processing to an NSOperation, passing a filename as a reference that the NSOperation loads and parses. The app crashes with EXEC_BAD_ACCESS when entering -(void)init.
He...
When I set up the tableview say with 4 rows, there are still extra separators lines below the tableview (or extra blank cells)
How would I remove these cells (like in this case I just need 4 top cells)
tblView = [[UITableView alloc] initWithFrame:[[UIScreen mainScreen] bounds] style:UITableViewStylePlain];
[tblView setDelegate:self...
I'd like to render a basic UIListView into an image I can save.
I found lots of code here for rendering a UIView to an image (for iphone/iPod Touch). In fact, the code below is what I pulled from other posts and am using now. Problem is it doesn't draw anything from the UIListView which isn't visible when the method is invoked.
- (voi...
I have an iPhone app that is using CoreLocation.
Upon first installing the app, the iPhone system message is displayed asking whether or not the user wants to allow location services, if they click yes, my app suddenly displays the first screen of my app (I'm using a navigation controller), and crashes. This is what I see in the log - ...
I have a NSArray of points that make up a path. I can detect when it self-intersects. When this happens, I try to fill the path.
First I used CoreGraphics, now I'm using openGl to draw a triangle array. Doesn't work well as you can see in the image.
How do I fill only the circular area while leaving the "tail" alone? I was thinking of...
Hello all,
I want to toggle an image from left to right and vice versa like a marquee tag in html. How to do that easily in iPhone. Do any one know some sample application doing that.
...
In the iPhone 3.0 SDK, how can I be informed when a zoomToRect:animated: animation completes?
Sometimes the scrollview doesn't zoom at all (if it's already at the proper zoom level), and there doesn't seem to be a way to detect that.
...
I have a NSManagedObject object filled with data I want to use in multiple view controllers.
Can I make this object into a singleton and use it in multiple view controllers? Or should I use a different approach?
...
I am following through this tutorial and after completing it I am getting an error on build.
The error isn't associated with any line of source code though.
This is the error I get:
Line Location Tool:0: collect2: ld returned 1 exit status
Line Location Tool:0: symbol(s) not found
Line Location Tool:0: -[todo initWithPrimaryKey:database...
Hello all,
I am using CATranition to animate a UIView. It animates properly, but I want this animation to continue until the view get unload.
I know I can use timer but want to know if there is some suitable way to do that.
...
I am building a game that pulls images randomly. After doing some testing I have realized if the same image is called twice, it crashes. I learned this by after completing the first game, I returned to the games main menu and selected to play again. I ended up getting an image which was already displayed to me in my previous game and ...
hello, I want to develop a screensaver-like app where the only way of getting back to the springboard is entering a code. Therefore I would need the Home Button action to be ignored, that is that when the user presses the button nothing happens..or something custom...instead of going back to the springboard and terminating the app.
Is th...
Hi Guys ,
I was wondering if I could add the files to the app resources from an external url. As in suppose I see a url which has a nice image. Can I download that from the website and add it as a resource and use it locally for later use ? I am sure there is way But Need some guidance on how to approach the problem and The set of Clas...