iphone-sdk-4.0

Facebook Integration for iOS4

Hi all, i want to add the ability to post to the facebook wall trough my iPhone app. I found various possibilities to do that, but which one is the best and shortest for iOS4? And do I need UIWebView? Thanks mat ...

Admob with ios4 error occurs....... Iphone os4

My code was successfully run into the ios 3.1.3 now i update the sdk to 4.1 and code is not woking i got the error. Undefined symbols: "_OBJC_CLASS_$_AdMobView", referenced from: objc-class-ref-to-AdMobView in supportViewController.o objc-class-ref-to-AdMobView in FindViewController.o objc-class-ref-to-AdMobView in InformationD...

iPhone Ad Hoc Distribution Build does not work on 3.x Devices

We have made many Distribution Builds, so we are familiar with the daunting iPhone provisioning process. We have entered all the devices into the Provision Portal, we have downloaded all certificates, and when we distribute our BETA build, it is only working for users on iOS 4.x. This is strange behavior because it wasn't doing this be...

iPhone checking for existance of AVCaptureSession Class

I have integrated a library that uses AVCaptureSession to capture a photo from the camera. As is the AVCaptureSession is only available on iOS4 devices, I want to disable this integrated functionality for older devices. I know that it should be done by weak-linking the AVFoundation Framework and checking for function existance. Weak-lin...

app crash on every screen specially in MKMapView and Camera Control

app crash on every screen and gives memory warning level 2 it also gives this message- Data Formatters temporarily unavailable, will re-try after a 'continue'. (Unknown error loading shared library "/Developer/usr/lib/libXcodeDebuggerSupport.dylib") please help me what i do? ...

Deployed iPhone application through iTunes windows does not work. It works through Itunes in Mac

Hi, I have developed an iPhone application for iOS 4.0 using the iPhone SDK 4.0 in Xcode and am testing it on an iPhone. For ad-hoc deployment through Itunes, the .app file and mobile provisions files are needed. I drag and drop both files into the Apps tab in Itunes. I sync up Itunes with the Iphone plugged in and the application get...

How to get [UIImage imageWithContentsOfFile:] and High Res Images working

As many people are complaining it seems that in the Apple SDK for the Retina Display there's a bug and imageWithContentsOfFile actually does not automatically load the 2x images. I've stumbled into a nice post how to make a function which detects UIScreen scale factor and properly loads low or high res images ( http://atastypixel.com/bl...

How to use Amazon S3 classes with Walrus S3?

Hi all, I am developing an iphone project in which I have to use Walrus S3 of Eucalyptus which my client has asked to use. It is similar to Amazon S3. He has provided me a url for storing buckets and objects just like there is a url in Amazon S3. I am using the S3 classes from the following link: http://allseeing-i.com/ASIHTTPRequest/S3...

How to change the mode of UIDatePicker to millisecond mode in iphone?

I want to create an application containing UIDatePicker view . UIDatePicker contains the property of Timer mode ,Date mode,Date and Time mode, Days and Time mode but it don't have property of to convert any of this Mode to MilliSecond Mode .I have stuck here can anybody help me . thanks in advanced Vikas Savardekar ...

Change music file Balance

Is there any way to change a music file Balance? for example I want to play a sound only from left speaker(by default my sound file is playing in both speaker) ...

How to get all the UITableViewCell from UITableView?

Hi Guys, I have a list reusable UItableViewCells. As what I want: after selecting one of the cells, the app should update the images on each Cell. For solving this requirement, I use method visibleCells to fetch all the cells from UITableView, and update the images in each cell by iterating the returned cell array. But the problem is:...

incompatible Objective-c types warning

Hi all, I have a user class that I use throught the iphone application,this is the init and initWithUser fuctions from my user class (A SUBCLASS OF NSobject),. when I use the initWithUser function I get the warning described after the code. please advise. // serialize.h #import <Foundation/Foundation.h> @protocol Serialize // seri...

SSH Connect to Mac using iPhone SDK for Remote Login

I wonder if anyone has succeeded in connecting to a Mac using an iOS Device via SSH (Remote Login) to access terminal and execute commands. I know that this is definietly possible as the Mobile Terminal App accomplishes this perfectly. I am trying to implement this connection in an iOS4 Application. Does anybody know the code to do this?...

Iphone 4.0 - Background timer.

It seems that an NSTimer created in the background stalls till the app is brought back into foreground. How does the Iphone default Clock app's timer work then? Thanks! ...

iphone resume application on UILocalNotification

I've managed to get the application I'm writing to present a UILocalNotification when it is in the background. Though when the application resumes, the user interface becomes inactive. Is anyone aware of how to get the application responding again having resumed from the background state? Thanks, Matt. ...

Home button doesn't exit app in iPhone simulator 4.0

I noticed that when building then running viewDidLoad only gets called once. If you press the home button and re-enter the application, viewDidLoad does not execute again. Another thing I noticed is that when you re-enter an application it starts off right where you left off. Is this the same behavior as in older SDKs? Does this mean t...

Persistence unnecessary in iOS 4.0?

I noticed that when the home button is pressed on the iPhone simulator to exit an app and then the app is re-entered it starts off right where it left off. Does this mean that programming persistence is no longer necessary? What if the user presses the power button on their ipod touch? ...

Weird EXC_BAD_ACCESS, what am I doing wrong?

Hi, I have a UITabBarController. One of the tab shows application "bookmarks", these bookmarks are basicly search types saved to a Core Data (SQLLite) database. When I load my application, go to the bookmark view (bookmarksViewController), it loads a function in my appDelegate (getBookmarks) and shows the result in an table. This work...

UITableView within Tab Bar Application

Hi everyone, I'm trying to add a UITableView to my Tab Bar application, but I'm completely at a loss for where to start. I've tried to add a new XIB and load the XIB from the View Controller in MainWindow.xib, but all it does is crash. Can anyone provide a tutorial from adding the UITableView to my Tab Bar app all the way through to se...

Use custom font

How to use custom font?(font that doesn't exist in iphone) ...