iphone

How to get the app store icon glass effect on a webpage?

Is there any simple way to display the icon for my iphone apps on my webpage the same way they look in the appstore (i.e. with the glass effect and preferably with reflection)? I have very little experience in web coding so some sample code that I could just copy and paste would be great if this is possible. Thanks for any help. ...

presentmodalviewcontroller navigationcontroller

I am creating a Navigation based iPhone application. In that I have called a UiViewController using presentModalViewController. After that, the ViewController becomes visible. From that ViewController I need to call another ViewController using the sample presentModalViewController. Is this possible or not? ...

Access the frams of a Video During recording in iphone

Whether is it possible to access the frames of a Video at the time of recording?If yes,how? ...

Detecting Swipe In UINavigationBar

I am trying to get my view controller to detect swipes in the UINavigationBar that is automatically displayed by my app, but it refuses to detect swipes. Is there any way I can do it? ...

UIView that takes you to anchor link

I'm developing an iPhone app where I have my HTML content loaded in a UIWebview as a HTMLString and would like to have a UIView that tells the UIWebview to scroll to an anchor link. Can I scroll to the anchor link from the already loaded HTML content or I would have to reload the page with the anchor link in the URL? thanks, fbr ...

Displaying of fractional values using a NSNumberFormatter?

My requirement is to display fractional values if the user wants to enter the fractional values in the text fields. I haver a textfield where i should display the values entered seperated with commas and also it should allow to enter only 9 integer digits and 2 digits after decimal point(Fractional Values). I have tried using the NSNumbe...

Getting the visible rect of a zoomed UIImage on the screen

I have a UIImageView inside a UIScrollView. The UIImageView contains a UIViewContentModeScaleAspectFit content mode. I've also set the content size of the UIScrollview to the frame size (width, height) of my UIImageView and implemented a UIScrollview delegate method (viewForZoomingInScrollView:) to enable the zooming feature of my app. ...

Custom delegate : How to call back from modalViewController tapping on done ?

Hi all , I want to use custom delegate in my search tab. I have never used my own custom delegate in any application ( this is the just second one ). The scenario is as below : In the search utility ,If I am pressing select category , a modal view controller will be presented in that I am passing a category controller as a parameter...

internet problem

how to check internet connection through iphone or objective-c.??? ...

Detecting which UIButton was pressed in a UITableView

Hi, I have a UITableView with 5 UITableViewCells. Each cell contains a UIButton which is set up as follows: - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { NSString *identifier = @"identifier"; UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:identif...

What is the limit for reverse-geocode lookups on iPhone?

I'm trying to find out the limit for reverse-geocode lookups on iPhone, are they per application/per device and how many per day? The doco just states: MKReverseGeocoder Each Map Kit application has a limited amount of reverse geocoding capacity, so it is to your advantage to use reverse geocode requests sparingly. Here are som...

How to release attribute which is protocol?

Hi, everyone. I have working for iPhone development for a while. First time, I so surprised with memory-management in objective-c :). but now I got it a little bit. The question is, sometime, I use protocol as an attribute of a class, because I think its definition very similar to 'interface' in C# or Java. like below. @protocol Shiel...

How do I properly move an image using UIAccelerometer?

i have implementing moving image using UIAccelerometer.I have used below code. code: float gravX = (acceleration. x * kFilteringFactor) + (gravX * (1 - kFilteringFactor)); float gravY = (acceleration. y * kFilteringFactor) + (gravY * (1 - kFilteringFactor)); float moveX = acceleration. x - gravX; float moveY = acceleration. y - gravY; ...

NSDateFormatter gives different values on device and simulator? What is work around?

Hi, I am using NSDateFormatter, the problem is with its consistency. If I use the kCFDateFormatterMediumStyle it gives the format as "Nov 26, 2009" in simulator but on device it gives "26-Nov-2009". Now I have the question, Is this NSFormatter trustable means in near future or updates from apple can it change the style again? ...

Convert NSString to unsigned char * for iphone application

Hello, I am trying to convert NSString in to unsigned char* for iphone application . and i am newly for this objective C and iphone application so please help on this . Whether is there any api is there which can help for converting NSString to unsigned char*. Thanks, KamalBhr ...

iPhone: how to remove badge after Push Notification?

Hi guys, What is the code to remove the badge on my app's icon? When I receive push, I need to remove it when a button is clicked! ...

iPhone + cellForRowAtIndexPath

Hello, I am using UITableView in my application. I am using the cellForRowAtIndexPath method of the UITableView control. My question is that why this method cellForRowAtIndexPath is called whenever I scroll the table. ...

how to give "\n" character in label text?

Hi, i have coded like that..but cant get output.. label.text = @"hai\nyou"; but the output is hai you...i want...hai and than "you" must be in nextline ...

How to add 2 buttons into the uinavigationbar on the right side without IB?

Hello, how can i add 2 buttons into the uinavivationbar without IB? The 2 buttons should be align on the right side of the uinavigationbar. I know how i can add one button, but two?? Alex ...

suporting .rm audio formats in iPhone

HI all, I need to design a application that supports the streaming of .rm audio from the server. But from the api docs of apple it seems that .rm is not supported in iPhone. Is there any other way to implement this .... ??? Best Regards, Mohammed Sadiq . ...