iphone

how to login in twitter using oath

Hi all, I am building a twitter application that is currently using the classic login instead of OAuth. I don't know how to use Oauth to implement login.Please anybody help me to provide some help regarding how to login through OAuth login ...

iPhone - switching views trouble

I have pretty much the same setup as the ViewSwitch app from the Book Beginning iPhone 3 Development Exploring the SDK. Except I have a settings view and a view with a tableview inside it. The bottom bar is the the same as the example with the switch view button in the lower left but my app has a navigation bar too. The second view t...

How to logout from my twitter through classic logout in iphone

Hi all, i am integrating twitter in my application . i have created classic login so that user can enter his username and password.But when once he enters his username and password he remains logged in.So, please help me to logout the user through classic logout ...

autoresize of uiview

I have a uiview in a tab controller And in it is a uitableview When toggling in call status bar it doesn't do anything The view is not automatically resized It assumes the right size based on whether the in call status bar was toggled when the app starts but if the status bar is toggled whilst the app is running nothing changes ano...

OverlayView MoviePlayer problem

I want to add OverlayView to the second movie view in MoviePlayer example. But it does not work. I have the TableView which turns movie play. So I created: @property (nonatomic, retain) IBOutlet MyOverlayView *overlayView; in my TableViewController.h like it is in MyMovieViewController.h of the example, and in MyMovieViewController.m...

iPhone Sdk: [MobileOfferViewController _shouldUseKeyWindowStack]

Hi, I have a memory leak, so i tried to debug with nszombie.... And NSZombie printed this: -[MobileOfferViewController _shouldUseKeyWindowStack]: message sent to deallocated instance 0x6307580 So my question: what is the method: shouldUseKeyWindowStack?? Found nothing on Google.... Thanks, Martin ...

Problem with NSThread

Hi, I have a problem with my code I wanna create 2 different instance with NSThread but i think in my problem these doesn't happen. Can you take my a solution for my problem. I post my code, if you can you may show a solution example? Thanks @implementation myClass -(void)detectMove:(NSNumber*)arrayIndex{ NSMutableDictionary *...

How to count in coredata (aggregation) ?

Hi all, I am learning core data and particularly working on aggregation. Current what I want to do : count the number of records from the table which is in to-many relationship with inverse relationship on some criteria. Currently I am doing this : NSExpression *ex = [NSExpression expressionForFunction:@"count:" ...

iphone core location: distance filter how does it work!?

Hi, Just ashort question. what exactly does the "locationmanager.distancefilter" property? does it dermine how often the "didUpdateTolocation" method gets called?? ...

How to start an NSTimer when i click on a button?

How can i start an NSTimer when a user clicks a button? EDIT:i had the code working and everything, but i put the code to hide the button above the NSTimer code, and when i placed it below the NSTimer code it worked! ...

Using a tint on a split view controller's master pane

I have a navigation controller in the master pane of a split view controller. It has a tint set on the navigation bar. When this navigation controller is displayed in the split view's popover, the popover does not show the navigation items in the black popover-style but instead the layout is kind of screwed up and it uses the tint that w...

how to add UIImage view inside table cells for iphone

i want to add a UIimabeView inside table view cells to disyplay images (5 images on tap) no is it pissible to show Images in table cells??/ ...

Problem with Touch-Events after pushing ViewController

All touch-events are recogniced perfectly before I push my programmatically created ViewController. I think there is no connection between the new ViewController and my code. That's my code where i push the ViewController: UIViewController *detail = [[UIViewController alloc] init]; CGRect frame = CGRectMake(0, -44, 320, 411); UIView *g...

UIScrollView doesn't scroll

Hi. I have a problem with a UIScrollView. I set its frame.size, contentSize (bigger then frame), but I still can't scroll. My program has sctucrure like this: MainMenuViewController -> ScrollBarController -> UIScrollView This is a part of MainMenuViewController's method viewDidLoad ScrollBarController *imgScrollBarCtrl = [[ScrollBarC...

Add view to a navigation controller on app launch

I have an app that has a UITabBarController, one of the tabs of which is configured for a navigation controller. Based on certain logic I need to attach a different root view to the navigation controller inside the tab at application launch time. This is easily done in interface builder however, because I need to figure out what view t...

Video chat from iPhone to PC

Apple has just posted a technical Q&A on "how to capture video frames from the camera as images using AV Foundation." I'm very interested in this as I want to create an application that allows me to do a video chat from an iPhone to a PC. However, sending images to PC is obviously not a workable solution. So, can anyone please suggest a ...

What is the technology most commonly used for iPhone - iPad communications?

What is the most commonly used technology for communicating between an application running on an iPad and one on an iPhone? For example, the famous Scrabble application uses device-to-device communication to host the game board on the iPad and the letters on the iPhone. ...

iPhone:Move a ball according to shake and bounce the ball on edge

HI, I want to develop and app where a ball will be moved according to the direction of shake.The ball also bounce when it reach on edge....just like real world tennis ball....please give me initial idea....i want to go with cocos2d....can it help me..... Thanks ...

IBOutlet, use of member properties or not? memory leak ?

Hi I have noticed that the memory usage of a program I wrote, keep increasing over time. XCode's instruments shows no memory leak, yet you can see the heap stack growing over time.. Upon investigation, a lot of the memory usage come from the IBOutlet UI objects. The interface is build with Interface Builder. Typical usage would be lik...

Replace Copy/Select popover when selecting text in UITextView

Is it possible to replace Copy/Select popover when selecting text in UITextView? When text is selected, I want my own view to pop over. ...