This is a "is it best to use the address book" question.
As part of an app for iOS 4.0 I'm writing, I want to represent that a person has requested something. How I was wanting to do this is allow the user to select a person from their address book using the AddressBook.framework.
What I would like to know is whether this is the best a...
Using the camera to capture an image ... everything works fine UNLESS the flash goes off (which is does automatically in low light situations).
Is anyone else seeing this?
What, if any, solutions are there to this problem?
Thanks
...
The code below creates one UIActionSheet in XCode 3.2.2, iPhone OS 3.1.3. Embedded in the Action Sheet is a date picker.
But it seems create two sheets in XCode 3.2.3, iOS4, with one overlaid on the other.
Also, I get this error in the console (again, only with XCode 3.2.3, iOS4):
wait_fences: failed to receive reply: 10004003
What ...
I just installed the laster XCode and iOS SDK and I keep getting the following error when I open a XIB file.
"Interface Builder is unable to open documents of type CocoaTouch XIB."
...
My iPhone is a iOS4(3.1.3 update).
I tryid this code.
#import <UIKit/UIKit.h>
@interface testViewController : UIViewController {
}
@end
//-------------------------------------------------
#import <MediaPlayer/MediaPlayer.h>
#import "testViewController.h"
@implementation testViewController
- (void)viewDidLoad {
[super viewDidLoad];...
Hey,
i have a huge problem with my sqlite3 database on the iphone sdk 4. I can only write/read the database once! With the iphone sdk 3.2 everything had just worked fine.
After the first try i get the errormessage "SQLITE_BUSY".
Here's a snippet of my code i use:
-(void) addFavoriteOdv:(Odv*)odv name:(NSString*)name;
{
@synchroni...
I did an iphone app that works on iPhone 3GS but not in iPhone 4.
Here's the description of how it works:
First place a call to some one from iPhone
Put the call on speaker phone
Go to home screen of iphone
Launch my app that plays some audio
When the caller lifts the phone he will be able to hear the audio (if it goes to voice mail, i...
I'm trying to create a new "Window-based Application" in Xcode and I'm getting the following message:
Internal Error
File: /SourceCache/DevToolsIDE/DevToolsIDE-1688/pbxinterface/Wizards.subproj/PBXWizardChooserWizard.m
Line: 1365
Object: <PBXProjectWizardChooserWizard:0x200b845e0>
Method: sheetDidEndWithReturnCode:fileSystemLoc...
Hi guys,
just switched to iOS4 on my iPhone 3Gs and some of my apps broke.
One issue I had is that I had a UIToolbar with some buttons, tinted to pink, that worked well on the 3.1.3 OS. After upgrading to iOS 4, the toolbar was still tinted, but the buttons it contained were no longer affected by the tint. The toolbar was pink while th...
I'm using iPhone OS 4 and creating an application.
I've a webview, over which I'm placing two custom buttons with images (no text).
When I'm running the app, I'm not seeing the buttons at all.
any suggestions?
I've a tab bar view and one of the view has this web view.
Edit: You can download the XIB and related files from http://dl.dro...
I have a custom view controller that implements the from UITableViewDataSource and UITableViewDelegate protocols. When I load data for my table (in my viewDidLoad method), I create a NSOperationQueue and a NSInvocationOperation and add it to the queue. I throw up an activity indicator, and viewDidLoad exits.
The method used for the op...
Add a toolbar to a view in Interface Builder, and then add buttons to the toolbar. Image buttons on a toolbar glow/highlight when they are tapped, to give the user a response that they touched it. Ever since iPhone SDK 4 however, when tapping buttons in a toolbar, the glow is the correct size, but with every tap the glow gets progressi...
Is there a method or property that allows you to set the brightness of the LED light on the iPhone 4?
...
Sorry guys, I'm a noob. I know that some languages support type casting, but when I tried to do that here it failed, miserably. I've got an UITextField with number only pad, so I'm only getting numbers, and I need the output from that in my int, diff. Here's what I tried:
NSString *outputNumber = [NSString stringWithFormat:@"%d", [textB...
"I'm trying to get iPhone to play nice with all my work calendars that sync over exchange.
My personal calendar works great with adding/remove events. However, my department calendar which is in a public folder does not show up at all. Anyone know a work around?"
When last asked a year ago the answer to this question was that it wasn't ...
Hi all,
I encounter a strage console error log when I ran my app on an iPod Touch which has the updated iOS4 version but since it is an old device it doesn't support multitasking.
Sometimes I see these four lines in the console:
Thu Jul 1 15:39:38 iPod-Dev TestApp[1147] : CGContextConcatCTM: invalid context 0x0
Thu Jul 1 15:39:38 iPo...
Why is it that if I pick a video from the library in my application I'm given this horribly pixelated/compressed video but if I take the video with the camera in my application I'm given a nice video file, this is on the iphone 4.
Sample of video taken w/in the app:
http://photos.smugmug.com/photos/912709066_Kcc8p-1280.mp4
Sample of vi...
hi! :)
i'm testing an app for iphone and iPad with the last xcode version!
like written in "xcode 3.2.3 readme" i'm using this configurations: Base SDK is set to iPhone SDK 4.0, iPhone OS Deployment Target is set to iPhone OS 3.1 (beacuse i want that also iphone2G and ipodTouch1G users can use my app) and Targeted Device Family is set to...
The documentation is rather poorly written when talking about playing audio in the background. It gives the impression that all you have to do to continue playing the audio that you are currently playing is to just add a key/value pair to the info.plist file and wallah, it's magic.
However, this is not the case. For instance, if I pla...
I have a grouped UITableView with some large images. However, scrolling performance is quite poor (note: it was excellent before the iOS 4 upgrade, now it's very jittery). I've read that using drawRect instead of adding subviews to the cell could improve performance.
First question: Is that true?
Second question: If it will increase p...