We are building a simple rigid body 3D collision application using Bullet3D on the iPhone.
When testing it, everything goes fine on the simulator and on the iPhone SDK 3.0.
When trying it on the iPhone SDK 2.2 some rigid bodies pass through each other... any idea why?
We assume it has to do with (the not verified) fact that Xcode uses g...
i have application view with nine icons on each page, i want to call a function when a certain icon is pressed for certain amount of time. similarly i want to do this with a cell in UITableView.
...
SSH is installed in NAS, Router is configured to forward the SSH port to NAS.
If anybody has done such thing before then just guide me How to send command over SSH from iphone ?
is there any code available regarding the same ?
Thanks in advance ...
...
Dear Hepler,
I am using ASIS3request to upload a photo from iphone to Amazon S3
service.
Basically I followed the instruction on documentation.
However I gets the following error.
"The XML you provided was not well-formed or did not validate against
our published schema".
For your reference
I attached a code below.
ASIS3Request...
How can I implement a modal date picker?
What I want to happen is when the user enters a text field, a new view is created that has the date picker on it. From there, the user can interact and select a date. When the view is closed it should somehow return the date to it's caller. Is this possible?
BTW, I cannot put the date picker on...
I have been creating a peer to peer connection for a new game, that does not use the peer picker. I am however dumbstruck as what to i put in here:
- (void)session:(GKSession *)session didReceiveConnectionRequestFromPeer:(NSString *)peerID {
NSLog(@"I GOTS A CONNECTION REQUEST");
if(connected == YES) {
//deny all requests
}
else if(con...
how to find ip of iphone device programatically??
...
Hello everybody,
my app accesses the internet and i just want to detect whether there is a connection either via wifi or via carrier data network or not
apple has made an example for that "Reachability"
https://developer.apple.com/iphone/library/samplecode/Reachability/
i think it just detects the wifi and not the carrier network
ca...
I have an app that rotates on some (but not all) screens, and I also want to add a UIView as an overlay that shows up on all screens, so I thought I'd add it to the window. The problem now is that when I rotate the device, the screens rotate, but the overlay view does not.
I also tried using two UIViewControllers, one for the normal st...
I am looking for a way to do a UIViewAnimationTransitionCurlUp or UIViewAnimationTransitionCurlDown transition on the iPhone but instead of top to bottom, do it from the left to right (or top/bottom in landscape mode). I've seen this asked aroud the internet a few times but none sems to get an answer. However I feel this is doable.
I ha...
I have a requirement in an application where I need to be able to add otherButtonTitles dynamically, dependent upon some BOOL switches that a user has specified in the settings. However, I can't seem to figure out how to go about doing this in the UIActionSheet initialization. I've tried to pass a NSString array (NSString[2]), and also...
I have an iPhone app that uses a UITableView with the UITableViewDelegate/UITableViewDataSource protocols. I'm struggling to do multi-select for deletion (not checkboxes, just the standard "-" delete button).
The basic problem is that when I click "edit," put the table view into edit mode, and then start clicking "-" buttons, I can onl...
Hi - I am receiving a EXC_BAD_ACCESS when I am presenting another controller in Modal view. Apparently, when I get to that controller's viewDidLoad, some variables are "invalid". However, if I wait like 20 seconds, then the controller will load fine.
I am new to iPhone. Sorry for a newbie question.
...
I have a UIScrollView that contains multiple UITableViews horizontally - all of which are created programmatically depending on the user's action.
Say I have 4 UITableViews, how do I set the datasource and delegate for each one programmatically? I understand there are tableViewX.dataSource and tableViewY.delegate methods; and I assume I...
On the iPhone 3GS, the camera is auto-focus, so, I am wondering whether I can get the focus rectangle from the iPhone camera. Anybody know about this?
And also the 3GS's focus can be set manually, so, can I get some message or notification that the focus area has been changed?
Thanks
...
I'm currently developing a simple iPhone application using a UITabBar and table views for displaying data. The tabbar contains 8 sections, each containing the same view but using a different data source, the title of the table view is also different, but apart from that the views are the same.
I'd like to use the same viewcontroller for...
Is there a way to set a default value for a picker? I save the last selected row from all the pickers and I want to be able to have the pickers load those saved rows at start up. As of now I have found this code:
[settingsPagePicker selectRow:3 inComponent:0 animated:YES];
It works but only when the user taps the picker. I need it ...
Hello Guys,
I am using iPhone sdk's motionended method to get the shake effect on 3.0.
The problem I am having is that the it works find on the first shake which I play a view, but once the video finished and I shake the device again it doesn't work.
Can anyone help me with this.
Thanks
...
i'm an objective-c newcomer.
im trying to compare a core data entity attribute value and having trouble with the syntax.
i just want to know the best way way to write the if statement to compare values.
in this example, the someAttribute attribute is a boolean, and its default is NO.
NSString *myValue = [NSString stringWithFormat:@"%...
I'm trying to compile some code for the iphone simulator but am getting this error:
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 -O3 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk -Os -O3 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneS...