iphone

Making ringtone of music files on Iphone

Is it possible to edit music files stored on iphone in app and create ringtone from them? Any help would be appreciated. ...

iPhone:Why Entitlements.plist?

Hello, I want to know why do we need to create Entitlements.plist file while we are creating Ad-hoc distribution build? Thank you. ...

NSBundle pathForResource:ofType: doesn't find all files in application bundle.

Hey. I have a Navigation-controller-based application with a number of Viewcontrollers in it which all have a property: NSString *infoFile; in them. In the viewDidLoad:-method i assign a path to this variable using self.infoFile = [NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"filename" ofType:@"html"]]; To accompany...

iPod music will stop after play short sound !!

Hi , i have buttons on my application and have a short sound effect , when user taps on buttons , short sound plays but if someone listen to the music , the music will stop ! how can i handle this ? to play music and my effect ,i use AudioToolbox framework . i read apple documentation doesn't work with AVFoundation.framework ! for some r...

Can't find the memory leak

Hi Everyone, I've got a fairly simple app that has the following in the view the program is mostly in: int currentPageIndex; NSArray *images; NSString *nextImage; IBOutlet UIImageView *firstPage; IBOutlet UIButton *bigButton; In the implementation viewDidLoad, I load the array with a bunch of image file names: images = [NSArr...

Unit tests crashes because unknown method defined in category in linked library

I have weird problem running logic unit test on my app. My app is build using some parts of three20 library. When I run the app in the Simulator, everything works well. But when I fire my unit tests, it crashes with exception "Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSCFString md5Hash]: unreco...

how to paginate UIScrollView with different page sizes?

Hi all, I'm trying to do a horizontal scroll of UILabels with different widths. I've already put all labels next to each other inside the UIScrollView, but since the page scrolling, bouncing and snapping is done in scrollview.frame.width "steps", i cannot set it to work as I'd wish. Can this be done? Thank you so much :) ...

What does NSPOSIXErrorDomain mean (iPhone)?

Hey Guys, I am trying to use the ASIHTTPRequest libraries to simulate a form post and gather the resulting cookies; however, when I am running the post, I get an error. I have traced through the request and narrowed it down to a NSPOSIXErrorDomain error. The site I am trying to connect too is an HTTPS: site and this error makes me th...

ModalViewController rotation issues within TabBarController

Hi all, I cant quite see why Im having this issue but I am..... Basically I have a Tabr bar controller with a navigationController in one of the tabs. In this particular tab I want the user to be able to rotate the device and see a completely different view, not the original view rotated! In order to achieve this (at full screen) I have...

iPhone SDK: How to show button depressed?

In my application, when the user selects ButtonA it is difficult to tell they did. There is no button depress noticeable. I am wondering, how can the button appear pressed when the user selects it? ...

not able to connect view controoller to appdelegate in main window nib

i have added an view controler to interface builder and trying to add connection but is not allowing to connect, buti have created ib outlet for that and is visible in IB... ...

Keyboard won't dismiss when popover closes on iOS 3.2

- (BOOL)popoverControllerShouldDismissPopover:(UIPopoverController *)popoverController { [self dismissFirstResponder]; return YES; } -(void)dismissFirstResponder { [nameField resignFirstResponder]; [descriptionField resignFirstResponder]; [helpField resignFirstResponder]; } I have tried loads of different things,...

iOS Keychain Security

we want to use certificates on the iPhone to authenticate for MS Exchange Sync. We are not sure how the security concept is implemented to protect this certificates. e.g. is it possible to get "full" Keychain access on the iPhone if no ScreenLock is enabled? (or with an Jailbroken iPhone). Does anybody has some links about this? ...

IPhone SDK: Camera access ??

Hello Everybody, I want to know how to access the iphones camera and work with it in realtime: for example just draw on the camera view. Another related Question: Can I display 4 camera-views at once like in "Photo Booth" on the Mac. ...

Iphone create uibarbutton without interface builder

Hi , i want creating uibarbutton without interface builder = (whit code) and this button is style camera please help me ...

Updating UI Manually

Hi, Is there a way to update UI manually? For example, I have a function which updates UI and execute some logic. After the UI update, it will execute some logic that will take a long time and update of UI has to be wait until the execution of logic is finished. Is there a way to update UI manually befor even the logic is even executed?...

iPhone4.0: pushing a navigationController over a TabbarController

Problem: after pushing the UINavigationController to the tabBarController nothing changes. I have a tabbar based app, and it contains a button, that should open up a navigation based page to show images when touched by the user. The code snippet that I used and modified from stackoverflow does not seem to work. Could please someone take...

cocos2d ccsprite animation

Hey all Im working on an app for the iphone and i am new to cocos2d and objective c. Im having some trouble getting a sprite animation to be position as i want it. I have a background sprite and have a second animation sprite that goes over it. In this case the background is a person and the animation sprite is the eyes blinking. CGSiz...

Using AdvanceURLConnection in iPhone application.

Hi All, I wanted to use HTTPS in my application to communicate to API. But I did not want to use third party frame work like ASIHTTPRequest. So wanted to use the sample provided in AdvanceULConnection (http://developer.apple.com/iphone/library/samplecode/AdvancedURLConnections/Introduction/Intro.html)[can check sample here, hope the URL...

iPhone Scrollview question?

Is there a way to hide the scroll bar in a scroll view? ...