Can I get and use the contact picture in my app?
I'm using the address book framework to get all the contacts from my iphone phonebook. Is there any way to get (and use) the contact picture? Thank you. Thomas ...
I'm using the address book framework to get all the contacts from my iphone phonebook. Is there any way to get (and use) the contact picture? Thank you. Thomas ...
I've read a few posts on this, but there's still one thing that's not clear for me. I know this might be rather a n00b question, but I've actually got rather far into development without quite grasping this fundamental issue. A symptom of being self taught I guess. You declare a variable in your header, like so: @interface SomeClass ...
I have a scrollview that has a page control. The scrollview contains 3 views. Each view contains a view controller. In one of my view controllers I press a button and I want the scrollview to scroll to a specific location. But Im not sure how to accomplish that since the button is not in the UIScrollview but in one of the view controller...
The easiest way to see this problem will be to run the sample project here: http://drop.io/stackproblem Basically, It's a uisplitviewcontroller which can be switched between 2 detail views, both of which are navigation controllers. The problem is that it crashes with the following error: MultipleDetailViews[8531:207] * Terminating ap...
Hi, I am creating an iPhone application where I need to show a login screen for few minutes, hence I created the custom view and added to the custom view controller which is added to the window for display. Now at the same time I need to check for some background database so, I am creating that in separate delegate and while after datab...
I have the following code: - (NSDecimalNumber *)totalBudgetItems { NSEnumerator *e = [self.defaultBudgetItemsArray objectEnumerator]; id object; while (object = [e nextObject]) { NSDecimalNumber *numberToAdd = [[NSDecimalNumber alloc] initWithDecimal:[[object objectForKey:@"actualValue"] decimalValue]]; curre...
Looking how to call the Nuance Dragon Dictation iphone/ipad app from another app using the URL schema if available? Is there a way to access the clipboard on iOS to copy text from Dictation transcribe back into custom app? ...
Hi! I have a button in my App called myButton, what I what to do is really simple. I want to have an integer that adds one to itself every time the Button is pushed. Here's what the code looks like right now: - (IBAction)myButton { NSLog(@"Button was pushed WOHHOP"); } This is inside my .m file, so do I need to declare an integer i...
hi i want read one << mp3 url >> minus 30 sec with button in iphone can i work this with audio foundation this is my code but its not work NSString *str = "my url"; NSURL *file =[[NSURL alloc]initFileURLWithPath:str]; AVAudioPlayer *p = [[AVAudioPlayer alloc]initWithContentsOfURL:file error:nil]; [file release]; self.player = p...
I have an iPhone app with a main view that has a UILabel and a UIButton. When the button is clicked, I display a second view. The second view has a text box and an OK button. I want the user to enter something in the second view's text box and then click the OK button; this should close the second view and apply the entered text to th...
It seems most reading application that will display quite a lot of text will still use WebView instead of Core Text (Instapaper, iBooks, other reading apps). I want to know if there are any concerns for those applications not using Core Text but WebView which will generally have rather poor performance. ...
how to find length of the navigation bar.... i want to display a label centre of the navigation bar programmatically.. so that i can write formula ,so it should work if i rotate my device ... ...
Is there any method to fade sounds like iPod music when the user want to use your app? Thanks. ...
How to use version control with xcode ?? ...
Hello. I know I can use PSMultiValueSpecifier to let user to choose a value from a list. But it is a single select. How can I let user to be able to multi choose some values, in Application Preferences? THanks ...
Hi , i have UITExtView with (511 , 369 , 571 , 519) context , so my keyboard popups on UITextView and filled some space on the screen , when users type some notes , the UITExtView text moves under the keyboard , i was wondering how should implement specific context for textView to begin scroll down . i use this code but doesn't work ...
I have 3 classes of objects. All 3 classes share some properties in common, as color, text, etc. For example, I can have this Class1 *objectA = [[Class1 alloc] init]; objectA.myColor = [UIColor redColor]; Class2 *objectB = [[Class2 alloc] init]; objectA.myColor = [UIColor redColor]; Class3 *objectC = [[Class3 alloc] init]; objectA.my...
I have a simple view-based app from that template. It has nothing else in there, only one UIButton. When the device rotates, I want that button to be re-layoutet in such a way that it fits the width of the screen automatically. It has a margin of 20 points left and right, which should always remain the same. ...
I'm making an app that is kinda like iBooks. There is some stuff on the screen, each item represented by a small thumbnail. I want the user to be able to delete the items much like when you tap the "Edit" button in iBooks - an X comes up, and the item is deleted. I'm using the delegation pattern to handle all of this, so here is some cod...
I'm currently working on an app that requires me to download a list of objects. I display these objects as buttons and anytime a button is pressed I need to play a sound that is also located on the server. I have all the information, the file, path, etc. The question is what is the best way to go about this. Should I 1) Download all ...