iphone

Displaying images in UIScrollView programetically

I am displaying 200 thumb nail images of size 4kb to 12kb in UIScrollView programitically by adding UIButton when i am debugging in device it takes time to load the view.. can there is some method to load quickly the thumb mages are store in disk. ...

XCode falsely claims CFBundleExecutable to be (null)

I'm trying to create an ad-hoc build of an iPhone app for beta testing. On their end, they're seeing an error like the following: "The info.plist for application at xxx specifies a CFBundleExecutable of (null), which does not exist" Here is an excerpt from the actual info.plist: <key>CFBundleExecutable</key> <string>${EXECUTABLE_NAME...

Youtube And the iphone sdk

does anyone have a way of extracting the direct movie url from the page returned by a standard youtube link? ...

Loading screen for an openGL game on iphone ?

I'm working in an openGL for iPhone , and although everything works great I have to wait about a second in certain sections of the game which use a ton of sprite sheets. It's there any way to create a loading screen for such sections ?, or any way to know if a certain texture has finished loading with openGL? EDIT: I load my textures w...

Accelerometer samplerate

I'm having some problems with the accelerometer. When I first started develop my game the controls felt very snappy and precise, but when adding more graphical elements the accelerometer feels like it's reacting very late and sometimes not as precise as before. I'm having a framerate of around 40fps. This is where I read the values (as ...

hide UISearchBar below UINavigationBar after cancelButton was called

I'm typically using [self.tableView setContentOffset:CGPointMake(0,40)]; in order to hide the UISearchBar (that I set as header of the tableView) below the navigationBar. Everything works well in viewDidLoad: the searchBar is below the navigationBar when the view is loaded. Then I put the same line of code [self.tableView setContentOffs...

Problem with the scrollbar of a UIWebView

Hi there! Im using a UIWebView to access a website, when i rotate the phone (landscape) the UIWebView is properly resized and the scrollbar are on the right place (on the right edge...) but when i acess any of input fields to fill the information required and exit it the UIWebView scrollbar jumps to the middle of screen (looks like it ge...

NSOperation and CoreData Threading

I'm passing some NSManagedObject data between two threads using NSOperationQueue with concurrency level to max of 1 and I'd like some suggestions on whether I'm doing this correctly. Since NSManagedObject is not thread-safe, I'm sending in the NSManagedObjectID from ThreadA (main thread) to ThreadB via an NSOperation derived class. The ...

iPhone:Handling touch event on ImageView:

Hi, I have four imageview in sequence on a screen setting with custom background images. When user touches an imageview (for ex: user touches second imageview), can i get touch notification with which imageview is touched? I have array of imageview already and placed, and i have to implement touch event and under that identify which im...

IPhone UITableView cells getting 'stuck' and mixed up with fast scrolling

Hi all, Based on Apple's TableViewSuite sample project (http://developer.apple.com/iphone/library/samplecode/TableViewSuite/index.html) I've taken the structure of number 5 there, to create custom drawn table cells. This is working great, and scrolling speed is fantastic now compared to when I was using nibs. It has however introduced ...

Web Application Architecture?

I’m scoping a new software project and haven’t had much experience with software development. This is a multipart question. What are some recommended books for web application architecture? We are basically looking to develop several front end applications (mobile and websites) that can query a central application pool that’ll hit our...

UISearchDisplayController,UINavigationController,UITabBarController Woes

Hey everyone, running into a bit of an issue, I have created all my views through IB, with the main window having a NavigationController, and a TabBarController which loads a TableViewController in its first tab. The problem happens when i use the searchbarcontroller in the navigation controller, everything works fine with the exceptio...

NSUserDefaults are not being written to disk

Hello, I set some values to NSUserDefaults and if I retrieve them without exiting the app, everything works fine. When I restart the app, the changes disappear in 95% of the time. In 5% of the time everything is being saved ok. I'm facing this problem for the first time. In my other apps I don't usually save NSString in NSUserDefaults....

UIButton flickers when pressed

I have several UIButtons in my app with different graphics for their On/Off states. The smaller buttons all display correctly without any flickering, but the larger button (320x90px) will flicker a black color over the button when pressed up to 75% of the time. This is on the iPhone, not the Simulator. I've set different combinations of ...

Choose Music from iPhone app? - iPhone SDK

Hey guys, Can anyone give me a head starters on this question. How would I be able to make an app that searches through your music contents that are already synced on your phone and play them. I don't want to do a scroll view, where the user just presses on the options. Instead I want the user to type the song name and if the song is f...

IMAP server that can dynamically create mailboxes, how to make iPhone client refresh?

I have an IMAP server which creates mailboxes (folders) dynamically, and I'm having trouble getting the iPhone's IMAP client to refresh them. It normally sends a LIST command when it first logs in, but then it won't send another until you exit the Mail app a couple times and/or go back and forth to the account listing screen a couple tim...

Design view in Interface Builder to load lazily in UIViewController

I've managed to get my myself confused... I've got a fairly complex View Controller much of which is developed programatically. I'd like to pop up a "dialog" on top of the view controller at some point and I'd like to "design" that view in Interface Builder because it's fairly straightforward (background UIImageView, some UILabels and a ...

Customising the colour scheme of the Core Location confirmation alert

Hi all, I've got an app which uses the Core Location framework. I'd like to customise the colour of the popup which appears the first few times the user uses my app - the one which says "x Would Like To Use Your Current Location/Don't Allow/OK". Does anyone know if it's possible to customise this to make it a different colour (the defa...

In app purchase

Hi! I want to use the in-app purchase in my app. Right now, I've created the half portion of my app. As far as I know there are two ways to deliver the app to the buyer using the in-app purchase. The first one is by creating your app fully functional, then if your app wasn't yet purchased, some features of this app should be locked and ...

iPhone MVC. Need some help with understanding how to correctly pass data from Controller to View.

A little background: I'm a C# developer starting to mess with the iPhone (have an idea for a simple 2D game). The only MVC programming I've done was for the web (ASP.NET MVC) so although I do have an understanding in MVC, I can't wrap my mind around one thing. Here's an example to illustrate. Say I have a simple app where all I want to...