Hi,
I have a UITable View that displays an image in the left hand side of the table cell, and it works fine in the simulator.
Only problem is, once I ran it on my device no images appear. It's just a blank white space.
Have checked that images are added to resource folder for build (which they are) and that capitals etc. match (which ...
Hi there,
I am some real trouble getting the transitions working for my iPhone site, I am trying to add the 'flip' transition using,
<a class="button flip" href="#about">About</a>
However I get no flip transition nor do is navigate to the about anchor, here is my HTML,
<!DOCTYPE html>
<head>
<meta name="viewport" co...
I have been reading alot on iPhone read/writing and I believe that everything I have is correct but for some reason it isn't working the way it should.
code is as follows
NSString *docsDirectory = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) objectAtIndex:0];
NSString *filePath = [docsDirectory str...
I'm fixing my app to be a universal binary. Testing on the simulator seems to default to the iPad. For small corrections like checking orientations and small UI updates, the only way I can find to get the iPhone version is to plug in my iPhone and build and run on device.
Loading the debugger takes valuable time, when running on sim...
Hi All, I'm developing an iPhone Core Data app with a pre-populated sqlite database. In parallel with developing the app in Xcode, we continue to add new data to our sqlite database and so every few days we update the new sqlite database in the project.
This is done by adding the sqlite file as a resource in the Xcode project, deleting...
hi,
I have a UITableView which uses the following code to display an image in a Table View cell:
cell.imageView.layer.masksToBounds = YES;
cell.imageView.layer.cornerRadius = 5.0;
UIImage *image = [UIImage imageNamed:[[color types] stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]]];
if ( image ) {...
I'm using the exact code from the iPhone Application Programming Guide Multimedia Support to use AVAudioRecorder to record a file to the disk and then AVAudioPlayer to load and play that file.
This is working fine in the simulator but is not working on the device. The file gets loaded (we can see the NSTimeInterval) but does not play (...
I've been working on an iPhone application in XCode and Interface Builder of the Tab Bar project type. After getting a table view of topics (business sectors) working fine I realized that I would need to add a Navigation Control to allow the user to drill into a subtopics (subsectors) table.
As a green Objective-C developer, that was co...
Hi,
I'm trying to program an iphone app that will have several different (sub)apps. Ideally, I want to know how to make the main menu for this app look and behave like the iphone's own app menu, but I can't figure it out. If any one knows a package or library that does this, please let me know. Plan B is to mock one using UIButtons, ...
Why would this run fine on the iPhone simulator... but the database can't be
opened on an iPhone device?
sqlite3 *g_Db = nil;
BOOL OpenDatabase(NSString *databaseName)
{
if(sqlite3_open([databaseName UTF8String], &g_Db) == SQLITE_OK)
{
NSLog(@"Opened db ok");
return(YES);
}
else
{
NSLog(@"Can...
From what I can tell, my app should be firing accelerometer events while Im using the iPad simulator in XCode, but its not.
I have googled around and it somewhat seems that the accelerometer is not implemented in the simulator, is this correct? If so, why on earth would they have a "Hardware->Shake Gesture" menu option?
My code is as f...
My app uses the location service. To test what is happening when the user presses 'Don't allow' when the simulator asks for the permission to access the location service (when the app is started for the first time) I need to reset the simulator. This because the question was answered at the beginning of the development process with allow...
I've been tasked to work on a project that has some confusing attributes.
The project is of the nature that it won't compile for the iPhone Simulator And the iPhone Device with the same compile settings. I think it has to do with needing to be specifically compiled for x86 or arm6/7 depending on the target platform.
So the project's bu...
I know i can simulate a memory warning on the simulator by selecting 'Simulate Memory Warning' from the drop down menu of the iPhone Simulator. I can even make a hot key for that.
But this is not what I'd like to achieve. I'd like to do that from the code by simply, lets say doing it every 5 seconds. Is that possible?
...
Hi,
I downloaded few images from google and converted them to PNG using the windows paint (xp) application. Later i copied them to my mac machine and deployed the application with my new image. It is properly displayed in the simulator. Later I connected my iphone and deployed on the device. All images are displayed except this one. Wha...
Is it possible (even with a horrible kludge) to read the Mac's keyboard input while running an iPad app?
I'm making a level editor for a game I'm working on and it needs to run on the iPad simulator app, but I'd like to be able to read keys for quick short cuts. This app will never run on the iPad and will never be submitted to the ...
I have a view that shows a MPMoviePlayerViewController modally. When testing it in the iPad simulator it works well on the first try. If I dismiss the video and then show the view again, the player only plays the audio, but not the video.
Is this a simulator quirk or am I doing something wrong? Here's my code:
- (void)viewWillAppear:(B...
Hi,
I have a universal app. On the iPad, when pressing an annotation pin it shows the callout bubble. When I press the desclosure button, it loads a uipopovercontroller with a detailed view.
What I want to know is how I can load the uipopovercontroller the same way the Google Maps load the uipopovercontroller. Is there a guide out ther...
I don't know how much you can help me because its under the NDA, but I recently updated to the OS 4 beta 3 xcode version. My project worked fine under 3.2 but under 4.0 parts are a not quite right I assume because it is still being developed.
Every other installation of the beta sdk I could go into the project settings and select the i...
I have provided support for two languages, English and Chinese, in my iPhone application. I use string files for the languages using "key"-"value" pairs and my application displays the appropriate language using NSLocalizedString(@"Fund red not red?", @"").
I get only Chinese text when I run the app in XCode. How can I switch to differ...