iphone

show timer in label

As in most games i hv seen the timer in a format "01:05" I m trying to implement a timer, and on reset i need to reset the timer to "00:00". This timer value should be in label. How to create a timer which is incrementing? like 00:00---00:01---00:02..........somthing like dat. suggestions regards ...

Iphone App contract-Entering Bank Details

I have just got registered with iphone Dev program. in Itunes Connect,I only get FREE APPS contract. How can I enter Bank details before uploading any App? Thanks ...

Update data displayed in tableview on ipad

Hello Longtime C# developer, newbie objective c and iPhone/iPad developer. Basically I am writing an app which displays search results on a map and there is a button on a uitoolbar that displays a popover of the results on the map to scroll through. It's all working except if I make a second search and the data changes this change is ...

Hierarchy level in UINavigationController in iPhone

Is it possible to decide the number of hierarchical level dynamically in UINavigationController in iPhone ? Actually, in my application I have to display hierarchical data but I don't know the number of levels at the coding time. The number of levels can be increase or decrease. The exact number of levels will known to me at the time of ...

iphoto style album stack for ipad application ipoto

Hello, I am looking to develop a video and image gallery in my app. The thing I found useful to be used for the videos is the FLOW COVER option available at http://www.chaosinmotion.com/flowcover.m. However, I would also like to show albums in the iPAD style Stacked albums A video representation is at Youtube (43 second onwards). I ...

How to resize webview correctly in landscape mode in iPhone?

I add a navigationbar, a webview and a toolbar(from top to bottom) as subviews of my viewcontroller's view. I want the navigationbar and toolbar's height shrink a little in landscape orientation so I use autoresizingmask to make the height flexible. (UIViewAutoresizingFlexibleHeight will make navigationbar and toolbar's height shrink fro...

Exception handling in iphone

hi i am new programmer.. presently working on iphone.... i know that in iphone device if an application encounters some error then the iphone OS closes it automatically. and other exceptions can be handled easily by user like enterance of numbers,check the internet connection ..and many more my question is why exception handling is so...

how to play video in iphone, xcode

Hi to all, i am creating a movie application in iphone . i want to play a video in my application. My Video url is located locally. Please anybody help me in how can i play a video in my application ...

how to make json on iphone using jquery .

i can use this to make a json on web browser: var json_string = JSON.stringify(array); but , it has not a object named "JSON" on iphone , so what can i do ? thanks ...

Zooming out UIViews (transformation problems)

So I've used CGAffineTransform to zoom in, CGAffineTransform newTrans2 = CGAffineTransformScale(mainView.transform,1.05,1.05); mainView.transform = newTrans2; I do this 15 times to have an animation effect. Now I would like to zoom out such that mainView fits the iPhone frame (0,0,320,480). Besides, the user is able to pinch in and ...

How to display this little white x-circle in a UITextField, so users can delete the text?

Some apps have this nice little white circle with an gray x in there UITextField. How can I add this to an UITextField and delete the text when it is tapped? ...

Is there something better than an NSTimer, when time is absolutely crucial?

I remember there were some kind of fancy, super-special CALayer types or classes for cases where timing is absolutely crucial to the app. I want to flash a CALayer in a certain frequency which triggers an light sensor and transmits data over light. Similar to IR remote controls. It's an experiment. I need to let it flash between 5 and 50...

Clarifying questions about provisioning profiles & My specific problem

I'm having serious problems getting one of my app's to run on other people's iPhones. Another app of mine works fine, so I suppose I am at some level capable of getting it right. I've tried a lot of different things based on Googling around, but there's just too many permutations. It's time for me to learn what is actually going on. Wh...

Shadow inside UIView

I am working on iPhone application development and have come across shadows of UIView. I know how to show shadows to a UIView but what I am actually interested in is to drop shadow inside the UIView. Like when I set shadow properties of a UIView the shadow is dropped behind the view. I want it to come over the view so that the view loo...

Application crashing upon release of UITableViewController

I have a class that retrieves data from core data and stores it into a NSMutablearray. It also has a function that returns this array. datamanager.h: @interface DataManager : NSObject { NSMutableArray *feedItems; ... } @property (nonatomic, retain) NSMutableArray *feedItems; ... datamanager.m: ... -(void)loadNews{ ...

How to add navigation bar to my player page or video page

Hi to all, i am creating a movie application on iphone. i have added navigation bar dynamically to my page i.e when it navigates from one page to another it shows navigation bar with a navigation item on the left hand side . on clicking the navigation item on the left side i can navigate to my page.But my code for navigation bar does no...

Problems with escaped characters in JSON string

Hi! I have a JSON-string where I know where the problem is, I just can't figure out what to do. I have looked up the "forbidden characters" in a JSON-string but it just doesn't work. When you run the show-method for FBStreamDialog for iPhone a view comes up with how it's going to look like when it's finally posted on the wall. This hap...

Alpha blending with OpenGL ES 2.0?

What's the best way? I tried to do this naïvely with a fragment shader that looks like this: varying lowp vec4 color; void main() { lowp vec4 alpha = colorVarying.wwww; const lowp vec4 one = vec4(1.0, 1.0, 1.0, 1.0); lowp vec4 oneMinusAlpha = one-alpha; gl_FragColor = gl_FragColor*oneMinusAlpha + colorVarying*alpha; ...

iOS: AutoRotating between NIBs

My universal app is a single full screen view. Pressing a button flips to reveal a settings page: - (void) showSettings { FlipsideViewController * flipsideVC = [FlipsideViewController alloc]; NSString * settingsNib; if ( isIPad() ) settingsNib = isCurrentlyPortrait() ? @"settings_iPad_portrait" : @"settings_iPad_landscape"; else ...

how to fetch XML code in simple array format in objective c?

Hello, I am just a beginner in i-phone development and right now i am developing one facebook application. thing is that i need to fetch data from webservice where data is in such format : HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Body> <abc1>string</abc...