Hello
I have a navigation based App with 5 ViewControllers. After inspecting the memory allocation with instruments i found out that memory is increasing permanently. The app starts up with 2 MB and after navigating through all 5 Navigationcontrollers it grows up to 10 MB and counting...
For every allocated object there is a correspondi...
Hi
I have started creating a simple product image carousel.
It basically comprises of 3 visible UIImageViews' and 2 hidden UIImateViews'.
The UIImageViews are populated with images from an array and animate to give the appearance of of a carousel.
My next objective is to determine which product the user taps and push a detail view onto...
I have a viewcontroller that is set to scrollview delegate (the scrollview is a subview of the viewcontroller), when I put [scrollview removeFromSuperview]; both the viewcontroller and the scrollview get removed and I'm just left with an empty window.
How can I remove only the scrollview?
edit::::
this is part of my viewcontroller .h
...
Do I need to implement my own sync methods in order to make an offline web app (html+css+js) stay up to date with changes made on the server (and viceversa)? I'm using MySQL on the server side.
I read http://stackoverflow.com/questions/3106191/ with some pointers but I think they're talking about native applications when they mention CF...
Wondering how I can send a DELETE instead of POST/GET etc with ASIHTTPRequest.
Thanks!
...
I have four UIViews on a UIScrollView (screen divided into quartiles)
On the quartiles, I have a few objects (UIImageViews), on each quartile.
When the user taps the screen, I want to find the closest object to the given CGPoint?
Any ideas?
I have the CGPoint and frame (CGRect) of the objects within each quartile.
UPDATE:
Red Pins...
I am just starting to build an app that will display PDF documents. I've been experimenting, subclassing UIView and using the code from Apples demo. I have a PDF document that contains an image that is 1024 x 748 pixels at 131 ppi, so that it SHOULD fill the iPad screen in landscape view.
When I run the app the pdf is scaled to approxim...
I would like to release a static library similar to what PayPal did (https://www.x.com/community/ppx/xspaces/mobile/mep) for the iPhone. They were successful in incorporating both the release/debug version of their static libraries into one single *.a file. I have found solutions to combine simulator/device static libraries but not comb...
Hi guys,
I have a UITableView populated with a bunch of music players that I've made using a custom UITableViewCell. (as shown in the screenshot linked here: screenshot).
The problem with the way I have it coded is that since each cell is completely independent, there's no way for one tableviewcell to check if any other the other cells ...
Is it possible to access the speech synthesis feature of the iOS that is used for accessibility?
...
I am trying to make a static library similar to what PayPal has done (https://www.x.com/community/ppx/xspaces/mobile/mep) for the iPhone.
It looks like PayPal is able to integrate views into the library as well as image resources. The only solution I can think of is to code the UI by hand for the UI and produce binary data for the imag...
Hi All!
I have a view with several buttons that all have the same target and action.
At the moment the action is @selector(doSomething).
I need to be able to determine which button is pressed but I'm not sure of the best way to do this.
The method doSomething is declared as...
-(void)doSomething;
Is there a better way to declare th...
When apple developed the UITableView for the first iphone they had a problem in performance when scrolling through it. Then one clever engineer discovered that the cause of this was that allocation of objects comes with a price, so it came up with a way to reuse cells.
"Object allocation has a performance cost, especially if the allocat...
I have some text in a UITableViewCell that has a URL link to it. I'd like to make the URL blue and, when clicked, open up the Safari Browser. Some of suggested that I use a UIWebView within the UITableViewCell, but I've not seen a simple implementation of that. I don't care about scrolling as I only have one row in this table (it is a...
probably me be stupid, but i cannot figure out how to use namespaces in the iphone sdk. Please could somebody help me. basically I need to know where to define a namespace in the files, i assume in the header, but where? I keep getting errors.
...
So, I've created a CLLocationManager, called it to start updating, set mapView.showsUserLocation to YES, and returned nil for the userLocation annotation.
Here are some snippets from my code in my UIMapViewController:
- (void)viewDidLoad
{
CLLocationManager *locationManager = [[CLLocationManager alloc] init];
[locationManager...
I have recently wired up my application to use Facebook iOS SDK (http://github.com/facebook/facebook-ios-sdk), the integration works fine but the pages are really slow. It takes really a long time to load the Login screen. Login action takes more than 10-60 seconds.
I didn't have this problem with FBConnect. Am I missing something? Is ...
Hi.
I have an iPhone application where every view is in portrait. I have a UIWebview with some HTML in it. Amoung that there is a html5 tagged video. When I play that video, it plays in portrait only. In order to make it work in landscape I have to return YES for shouldAutorotateToInterfaceOrientation in the viewcontroller, but I don't ...
What I wish to achieve is have a simple gallery of images which the user can swipe through using jQTouch ( http://jqtouch.com )
<div id="container">
<ing src="1.gif">
<ing src="2.gif">
<ing src="3.gif">
</div>
The images are quite long, for example 200px in width each. The container itself is 300px wide with hidden overflow.
What I w...
I was wondering if anyone knows where I can find documentation or a tutorial on how to make a vertical tab bar for iOS like in 1Password or 2do.
I figure that these aren't "real" tab bars, but I'd really like to use that functionality and I'm at a loss on how to accomplish it. Thanks in advance for any help!
...