iphone

Events are not Visible on UIImageView

Hi, I have a UIImageView, and a referencing outlet. However, altough I've set User Interaction of the ImageView, I cannot see any event in IB. Is it normal or am I missing something? ...

Understanding CABasicAnimation when spinning an object from a random angle....

I have spent ages trying to figure this out and I am still having problems. I want to rotate an image a random number of time - say 5 and a bit - then have it stop. I then want to rotate it again FROM ITS STOPPED POSITION. I am having difficulty with this so maybe someone can advise me on the right way to do it. Ok so I am using a CABa...

Objective-C++ compiles for iPhone, but not simulator

I have a C++ library I want to add to my iphone project. In one header file I declare @interface a { cppvirtualclass V; } This compiles fine for the iPhone device with Release settings. However it refuses to compile for the Simulator with or without debug info. It give the error error: type 'V' has virtual member functions. Is...

Can u tell ..how to call UIviewController from segmented control on the Navigation bar of the DetailViewController in a SplitViewController template

Can u tell ..how to call UIviewController from segmented control on the Navigation bar of the DetailViewController in a SplitViewController template ...

Apple 's iPhone App Policy

Hi, All I have read from some article that say's Apple doesn't approve the application which Sell/Buy any physical items. Is it correct or not ? I am new to iPhone development.and don't know more details about Apples 's Policies. Thanking in Advace... ...

What is the iPhone simulator IP address?

Hi I have been looking for the answer to this question for some time. I am doing network programming for the iPhone and it is necessary for me to use the IP address of the device. This isn't a problem on the physical device as it has its own IP address on the network. However I was wondering what was the case with it on the simulator. D...

How to achieve a palette effect on iPhone using OpenGL

I'm porting a 2d retro game to iPhone that has the following properties: targets OpenGL ES 1.1 entire screen is filled with tiles (textured triangle strip tile textured using a single 256x256 RGBA texture image the texture is passed to OpenGL once at the start of the game only 4 displayed colours are used one of the displayed colours i...

iPhone: How to Setup the Server Side of Push Notification.

Hi, Im my app I need to include push notifications but I don't understand how to start settings things up on the server side. Does anyone know of an example of server side code that implements a push notification? Which language is preferred for the server implementation? ...

How to recognize touch events and control a script object inside UIWebView?

Situation: I have an UIView with an UIWebView in it. When the viewDidLoad the Javascript Object inside the UIWebView is called (Microsoft Seadragon AJAX JS). For your Understanding: Seadragon loads a specified megapixel image(JPEG) and in a Desktop Browser like Firefox i can Zoom into the image and I can drag the crop for example from t...

Can you access the iPhone camera from Mobile Safari?

Is there a JavaScript API for accessing the the iPhone's camera from Mobile Safari? ...

download in iPhone

Hi, All When i will touch download link in any web page is iphone downloads that content ? if yes then where it will download ? ...

iPhone UIView frame animation inconsistent why?

I have an app that uses an image loaded in from an UIImagePickerController instance. Once the picker is dismissed so as to reduce the jarring transition from the picker layout to the layout of the next function I initially have the UIImageView for the image fill the whole screen and then when the picker is dismissed the image 'squeezes' ...

question related to UITextview

I have 1 question I have 1 UITextview, now,when i click on UITextview and enter text at that time i want that UIScrollview scrolls upwards as line by line goes down of UITextView ...

Signal "0" error while scrolling a tableview with images

Hi, I have a problem while scrolling images on tableview. I am getting a Signal "0" error. I think it is due to some memory issues but I am not able to find out the exact error. The code is as follows, - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSStri...

How can we turn views like turning a page in an iphone application?

Is it possible to turn a view slowly like turning a page? When i swipe from right to left, the current view will turn and the next view will be shown. And from left to right, the previous view will come slowly as we move the finger. How can I do it? Any ideas?? ...

Can a table view have it's own distinct header and footer?

When I have a table view with some sections which have their own headers and footers, could that table view also have it's very own header and footer with a customized look/content? ...

Can a plain style table view have sections?

From the docs: A plain-style table view is an unbroken list; a grouped table view has visually distinct sections. So in plain style, I can't have any sections? Or if I had some, they could not be visually distinct? Is that right? ...

How to tell a rightCalloutAccessoryView has been touched for MapKit

I have a MKAnnotationView being allocated with a DetailDisclosure button being displayed on the right side of the annotation. How would I go about knowing when a user clicked on the annotation button? This is what my code looks like right now - UIButton *rightButton = [UIButton buttonWithType:UIButtonTypeDetailDisclosure]; pinView.right...

reinstalling development application on iphone

I was able to build and install my app on my iphone. If I want to fix some issues and reinstall it, is there anything I should do before reinstalling? I do see the latest changes but some things are messed up. ...

UITableView scroll performance paradoxon: Make subviews or use -drawRect: ?

I was reading thourg this example (link)... From the description, this seems paradox to me: When implementing a table view cell, there's a tension between optimal scrolling performance and optimal edit/reordering performance. You should typically use subviews in the cell's content view. When you have an edit or reorde...