iphone

How to open the phone call app with a given phone number to call?

I have an contacts management app where I have phone numbers stored in core data. These are represented simply as text, like +33(0)7324 65335-22. Is it possible to call this number by launching the phone app? And if yes, must I do special formatting to my number? ...

Push viewController on navigationController animated bottom to top iphone sdk

Hi all, Is it possible to push a viewController on navigationController which is animated not horizontally but vertically [bottom to up]? Thanx in advance. ...

AVAudioRecorder & AVAudioPlayer - Sound output on internal speaker, how to change?

Hi, i have a problem with AVAudioRecorder and AVAudioPlayer. when i use Player and Record at the same time (eg. for playing sound while recording) the sound is in the quiet internal Speaker. i searched stackoverflow and all i found was this code: UInt32 *audioRouteOverride = kAudioSessionOverrideAudioRoute_Speaker; AudioSessionSetPro...

Trying to upload video to facebook using FBConnect for iPhone

Hello- I am working on an app which will upload videos to a Facebook users wall, however I have not had much success. I present an extended permissions dialog window, and then use the face.video.upload method call. In the debugger, it seems like each parameter is set correctly, however the ext permission dialog never completely displays,...

how make a selection glow and then off in uitableviewcell

hi i have a problem with the selection when I select a row in uitableviewcell it selects and turns to blue with out making any animation i mean normally when a row in table is selected it turns into blue and go off immediately like an animation. How to achieve that? Not deslecting a row....it is like highlight the cell and go off when ce...

Is there a way to choose per Xcode build configuration which (if any) Settings.bundle to use?

One of the iPhone apps I work on doesn't currently have a Settings.bundle in its project. I want to add some debug settings in a Settings.bundle for our QA department, so they can enter different server URLs used for web services (so they can point at production, staging, dev, etc.). For our final App Store build, I don't want there to...

mediafilesegmenter on CentOS?

I'm working on a project where I need to batch convert files to multiple media formats, some of which will be streamed to iPhone. I'm using ffmpeg on a CentOS server, and have been using mediafilesegmenter locally to create m3u8 playlists, and it's gone swimmingly, but, in trying to get the process going on the unix server, I can't seem ...

Is it ok to use the web view to render non web content web developing for iOS4

I'm just learning the iPhone SDK and about drawing with CG and UIKit and whilst I can see the usefulness for building interfaces as a web developer I can't help but think it would be a hell of a lot easy if I could layout content (ie heading, paragraphs, lists, images) with html and css presumably this is possible using the web view and...

Checking for the "existence" of version-specific global constants and other features?

I am very much new to the iPhone SDK. I just haven't been able to find the right search query to find out how to do this kind of checking for the existence of a new or deprecated feature. Case in point: iOS4 deprecates UIKeyboardBoundsUserInfoKey used for checking the height of the keyboard (and moving, scrolling or whatever to adjust ...

How to Store lots of text in Core Data

This is a design questions, so multiple ideas will be fine. In my iPhone app, I keep track of Multiple players' life, which can increase and decrease over time. After the game is done, I want to be able to show them their life throughout the game, so they can see how they did. Now, this will also be stored in Core Data, so they can lo...

creating a mutable array I can access anywhere in my view controller on iphone?

I am loading json into a list of objects I am adding to a NSMutableArray which seems to be working fine except for the fact that I can't seem to keep the array around to access later. This is my .h: @interface ClientController : UITableViewController { NSMutableData *responseData; NSMutableArray *ClientList; } @property (nonat...

iPhone Single Sign On

Does anyone have a link to information regarding integrated, single-sign-on solutions for web apps for the iPhone/iPad and using one of the new VPN clients available in iOS 4? With a typical intranet application I develop using ASP.NET for consumption with Firefox or IE, we use NTLM/Kerberos authentication, and the user's credentials ar...

UITableView.backgroundColor in SDK 4.0

I have an app that has a custom background for a UITableView. Up to the SDK 3.1.3 this was done by setting the table's backgroundColor property to [UIColor clearColor] and placing the table on top of another view (a UIImageView' for example). SDK 3.2 added thebackgroundViewproperty, and the same effect could be achieved by setting it ton...

CoreData NSPredicate with many-to-many relationship

I have modeled a Person/Tag relationship. It's a many to many relationship; a person can have multiple tags and a tag can be associated to multiple people. I am trying to run a query to see get a list of people, that have been tagged with EVERY tag of a set of tags. For Example: Every person that has been tagged with 'FOO' and 'BAR'. ...

Tab Bar Controller + Navigation Controller + Bar Button Item

Within my MainWindow.xib I have a setup like I have here below. I have a Tab Bar Controller with a Navigation Controller within the Tab Bar Controller. I can switch between the different Navigation Controllers and this all works. What I am trying to do now is add a Right Bar Button Item to the Navigation Controller. I can't seem to us...

Getting Record Count from Iphone DB

hey guys this is my code for retrieving data from Sqlite3 data base queryStatementNS = [NSString stringWithFormat:@"select Propertytbl.stree_no,Propertytbl.street_name,Propertytbl.suburb,Propertytbl.pcode,(select count(pid) from Propconpertbl where pid = Propertytbl.pid ), (select count(pid) from PropFeedtbl where pid = Propertytbl.pid ...

AudioFileWriteBytes returns error -50 randomly

I have the following code snippet: OSStatus status = AudioFileWriteBytes(self.audioFile, FALSE, self.startingByte, &ioNumBytes, theData); The status code randomly returns noErr and -50 on the iPhone simulator. It then works if I re-run it. Any pointer is appreciated why the above code behaves randomly. Thanks in advance for you...

Wheres the best place Iphone app to place a Data Model instance and how would you Access it?

Hey guys! I am learning tons on this thing. Reading also, but this is awesome! Ok.. so long story sort I hope. I'm making a data class to pump out some instances of people that have various attributes. I would like my view controllers to be able to access them (through properties of course.. I think) to manipulate their data. Where in...

Writing a PDF to filesystem iPhone

I am am opening a PDF document using Quartz2D in core graphics, resizing it, and attempting to re-save it to the file system of an iPhone. Problem is I cannot figure out how to write a PDF to the file system. Has anyone had luck with such a problem. ...

Does the iPhone SDK really take up ~5GB every time you upgrade it?

Every time I upgrade to a new version of the SDK (beta and general releases), I noticed that installer says it's going to take up around 5-6 GB of space. After several upgrades you would expect your hard drive to be full. Doesn't it just update the files that were changed? Or does it uninstall the old version (thus freeing around 5-6 GB...