Hi,
I have a problem using icons with the tab bar control and I don't know to fix.
The icons I'm using are png format 24*24.
They have a grey gradient background with a black shape in the middle.
The problem I have is that only the background gradient shows. The Black shape in the middle does not.
Have I Used the wrong format or somet...
Apple has provided an example the View Controller Programming Guide, for creating an UITabBarItem, like this:
- (id)init {
if (self = [super initWithNibName:@"MyViewController" bundle:nil]) {
self.title = @"My View Controller";
UIImage* anImage = [UIImage imageNamed:@"MyViewControllerImage.png"];
UITabBarItem* theI...
Hello,
I'm using a TTLauncherView and for that I declare a view controller as TTViewController, as is in TTCatalog tutorial app. Declare a TTLauncherView var inside that view, add items, and so on.
In my app's main view is a button calling the previous view with the following code:
-(void) switchToButtonOrderingView
{
ButtonOrderi...
Hi there.
I am developing for Jailbroken iPhone. I need to write(copy) a file to iPhone System Folders (/Library/LaunchDaemons) to which only ROOT has write access. How can i write a file to such folders through my Code. I know i can use NSFileManager's copyItemAtPath:toPath method to copy the file, but i cant write as i dont have permis...
Hello,
I was just wondering if there was anyway my iPhone application could get the content of the last push notification which was sent to it?
Basically I want to perform specific actions; based on the notification type received.
Kind Regards
Mick
...
I created a UITabBarController like this:
InfoViewController *iVC = [[InfoViewController alloc] init];
self.infoViewController = iVC; // retain property
UITabBarItem *tabBarItem = [[UITabBarItem alloc] initWithTabBarSystemItem:UITabBarSystemItemSearch tag:0];
self.infoViewController.tabBarItem = tabBarItem;
UINavigationController ...
Say I have a UIImageView that contains an image of an object that is not rectangular, i.e. a round ball. How can I check if another UIImageView (rectangular or not) intersects, or contains a point in, that object (not its frame)?
Basic example:
I have two balls rolling around on the screen, and I want to check for collision. But I don'...
I am trying to generate classes for my .xcdatamodel entities, but am not given the Manage Object Class option when I click on an entity and select File>New File. I've looked under both the iPhone and Mac OS X catagories, but it is not listed anywhere.
Here are the steps I am taking,
I create a new project being sure to check the "Use ...
i have an uiscrollview and i add 3 imageviews. i want to show the user the middle(second) image as the startup imageview. how is this possible?
...
Question
How can you detect when the Table View is done drawing the cells?
Issue
I got two labels within the contentView of an UITableViewCell. The size of these labels are dynamic. I was able to do so by subclassing UITableViewCell, in the drawRect method I adjust the frames of the two labels depending on their content. Now I want to...
I'm trying to create a modal view which pops up when the user presses a button. The modal view has a navigation bar with a map view as the main view. I'm having trouble setting this up in Interface Builder. When I set the view outlet for my File's Owner's view to the view inside the Navigation Controller, the only thing that show up is t...
I have a table view with all cells having the UITableViewCellStyleSubtitle,
the images of all the cells are got from the server.
However, those images are not changed frequently.
Someone can show me how to improve the user experience? Each time, user scroll down the table, it seems that it goes online to check and download images agai...
Hi every one I have built a poem application for iphone.
Now I want to create a bookmark page for my poems. I import cells list with MyCell.Plist and my poems are HTML files. Now I want to create a bookmark page for favourite poems.
How can I do that?
...
Sometimes the project compiles, and sometimes it fails with
"Out of memory allocating 4072 bytes after a total of 0 bytes"
If the project does compile, when it starts it immediately throws a bad access exception when attempting to access the first (allocated and retained) object, or, throws an error "unable to access memory address xxx...
I know the iPhone can and does use WiFi proximity to get approximate location. This obviously only can occur when some database in the sky knows the approximate location of that WiFi hotspot. My question is how do hotspots get into that db? Is it automatically added whenever the iPhone has a reasonably accurate GPS position and detects t...
How to disable or hide AM/PM in UIDatePicker from code / interface builder?
I want to have 24 hours time picker mode in UIDatePicker.
Please help
...
So when I'm creating a UITextField or UISearchBar within my code (vs. in IB) then I can hold down on the field a get the 'Select-Select All-Copy-Paste' field. If I select 'Select All' then I get another menu with 'Copy-Select-Paste' in it. The extra 'Select' won't appear if I create the UITextField or UISearchBar in IB but for my code-de...
I'm creating a number of static custom UITableViewCells and have dragged a UISegmentedControl onto one of the custom cells.
Whilst the segmented control allows me to alter its width I cannot alter its height in Interface Builder (that property is greyed out on 44 in the 'size' section of the property inspector).
I know that a UISegmen...
When I try to install on iPhone I get the following:
Can't install application
The Info.plist for application at (null) specifies a CFBundleExecutable of (null), which do not exist
The Bundle identifier matches the one on file at Apple and the phone has the provisional certificate...
Any ideas??
Thanks
...
I'm a noob in openGL and trying to learn as much as possible. I'm using this method to load my openGL textures, loading every .png as RGBA4444. I'm doing anything incorrect ?
- (void)loadTexture:(NSString*)nombre {
CGImageRef textureImage =[UIImage imageWithContentsOfFile:[[NSBundle mainBundle] pathForResource:nombre ofType:nil...