Hi, I'm very new to iphone programming. I'm trying to write an application where I can slide one view off the screen composed of a label and an image, and another will appear. However, I don't want any bars or navcontrollers (atleast not visible ones) involved, anyone know how I can just load another view?
...
Hi All,
I am running into a very odd issue. I have an app that works perfectly, compiles with no errors, and when launch from springboard loads perfectly. It will load from springboard every time correctly, even if it is running in the background. However, sometime if I launch the app from the recently used app list, by hitting the h...
I've been using agvtool for one of my iPhone apps on general principle, and have recently found a reason why I want to be able to check the version variable (so that I can re-copy help content into the Documents directory, if it's out of date). The variable, MyAppVersionNumber, defined in MyApp_vers.c, is auto-generated during the build...
There are limited number of animations with default SDK for iPad.
I would like to implement "Genie" effect in my app.
Is there any open source library or some library that I can purchase for "Genie" effect?
...
Totally lost with this one. Here's my code:
theColor = [NSString stringWithFormat:@"white"];
NSLog(@"%s", theColor);
Which is returing:
†t†å
I must be doing something stupid, but can not figure it out for the life of me.
...
I was designing a mobile version of my website but then realized I need to support at least three (iPhone, iPad and Android). In that case, I was thinking of using jQuery for the task where I would first detect what device it is and then load the appropriate CSS. How would I go about doing this? Is it something like this? And is this eve...
Hey guys,
I looked thru the documentation a bit but didn't see anything of much substance (but I must not be looking in the right place)
What are my options if I want to iterate through a user's itunes library meta data?
Let's say I want to build an Array of all their song titles. Is this possible with current public SDK APIs?
Dave
...
I am creating a custom CCSprite class to display a custom image and set its own position as well as handle other drawing tasks. Currently I have no other code running in the custom class but the initializer, which should set the image file and the position of the sprite. Here is my - (id)init method
- (id)init
{
if (!(self = [sup...
In an application showing chunks of text, I'm having the font size increase when the device is turned to a landscape orientation. I don't like how it does the whole animation and then suddenly jumps to the new size, so I'd like to animate the size change over the course of the rotation.
I read somewhere that throwing this change in a U...
With multi-tasking in iOS4, the home button puts the app into background and when it comes back into foreground I want the View Controller to 'refresh' (and hence viewWillAppear to be called). I put this in the app delegate thought this should work but nothing happens
- (void)applicationDidFinishLaunching:(UIApplication *)application {...
i'd like to have the user tap a cell in the tableview and hear audio. the information for the cell is loaded from core data, so i'm assuming i put the path to the audio file in core data as an attribute with type 'string'.
i am completely lost as to where to go from here. how do i call the path? after a lengthy search, i haven't found ...
I've been wandering how to hide / remove / disable only the main or first navigation bar in the navigation controller so that I could put an image as a whole background screen but I couldn't find any solution.
Did try hide the titleview in viewdidLoad of the main navigation controller but didn't work. Tried using navigationBarHidden bu...
So I've got a function that really helps when I'm crafting device specific URLS but I'd like to place it in a global header file so any class could use it easily
- (NSString *)deviceType
{
NSString *deviceName = @"iphone";
if([[UIScreen mainScreen] respondsToSelector:@selector(scale)])
{
if (UI_USER_INTERFACE_IDIOM()...
when i scroll table view data then i am getting this error
** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[NSCFArray objectAtIndex:]: index (5) beyond bounds (5)'
2010-07-31 12:24:50.297 Wat2Eat[3105:207] Stack: (
how to solve
...
I am working on a Labyrinth style app for iPhone using Chipmunk and openAL. I got everything working except the ball rolling sound. What I have tried is playing a small sound for each update in the ball's position so that the overall effect sounds like the ball is rolling. Based on advice on this forum I tired using velocity of the ball ...
First one:
+ (NSDate*)convertToUTC:(NSDate*)sourceDate
{
NSTimeZone* currentTimeZone = [NSTimeZone localTimeZone];
NSTimeZone* utcTimeZone = [NSTimeZone timeZoneWithAbbreviation:@"UTC"];
NSInteger currentGMTOffset = [currentTimeZone secondsFromGMTForDate:sourceDate];
NSInteger gmtOffset = [utcTimeZone secondsFromGMTForD...
Hi, I'm trying to make an iPhone/iPad application that uses VTK to visualize DICOM images and present them on the screen. The problem is no matter what I do, I am not able to build VTK to work on the device (it works correctly on the simulator).
Is there any way to build VTK for the iPhone/iPad?
Thank you very much for your help! :)
...
Hi guys,
I'm working on handling the click of a customized URL in
TTStyledTextLabel.
When I set the text to <a href="appname://user/name">name</a>,
TTStyledTextLabel can parse it correctly as a URL
But when I try to map this URL to a Viewcontroller, I just can't get
the parameter (the 'name')
This is what the code looks like: [...
How to pass the username and password for accessing a webservice from an iPhone application?
...
Hi all,
i want to sort NSArray of UIImageView according their frame?
i try for NSSortDescriptor but when i write key=@"frame" unrecognized selector error occur.
please tell me how to sort my array.
thanks in advance.
...