I've got several UI elements on my screen (programmatically) and am in need of an efficient way to give each subview a z-index setting, so I can stack certain elements over others.
Does anyone have a solution to this?
...
Is there a way to vertically align text in a UITextField half-way between UIControlContentVerticalAlignmentCenter and UIControlContentVerticalAlignmentBottom or do I have to go with one of those?
...
Background: Workout App is designed to have a continuous timeline that I can then input what exercise and reps I'm doing in real-time, then graph the results in real-time.
Issue: When the iphone sleeps for too long, we lose the continuity of the Timeline and it restarts. We haven't figured out how to keep the timeline updating while the...
Hi,
I am using the resize and preserve aspect ratio code from here
http://stackoverflow.com/questions/1282830/uiimagepickercontroller-uiimage-memory-and-more/3261445#3261445
but I am noticing an issue with left/right orientation. When you resize an image from the camera source (I tried on 3G and 4), and when the orientation is right ...
Hello, I am new to iPhone development, and I can not understand the working principle of UITableView well.
I customize the UITableViewCell, and the cell contains imageview. In addition, I initialize the cell reusable. However, when I drag the UITableView, it scrolls slowly.
Then what should I do to process it?
...
I want to write a normalization function that will take a signed integer and normalize it to a double between -1 to +1. Is there a special name for this type of function, or is Normalize() what people normally call it?
Also, is there a native iPhone function that does this?
...
I don't mean to start a war between iPhone vs Windows Phone 7, nor am I against Windows Phone 7. But I've noticed on both of my computers Windows Phone 7 emulator (Beta and CTP) lags like it's running on a crappy last-decade Celeron computer.
I have 2 computers: Macbook Pro 13" (2010 Model) with 2.4GHZ Core 2 Duo, 4GB RAM and ASUS G1 wi...
after getting result from my search in search bar i am putting a "." in that search bar text field as i need that
but i want to omit that in this function so that next time i get a empty serachbar for fresh serach
- (void) searchBarTextDidBeginEditing:(UISearchBar *)theSearchBar {
//searchBar.text = @"\n";
}
how can i delete tha...
This picture shows what i want , i just making a custom movieplay controller.
I know how to make a custom uislider as code below
playSlider.backgroundColor=[UIColor clearColor];
[playSlider setThumbImage:[UIImage imageNamed:@"sliderButton.png"] forState:UIControlStateNormal];
[playSlider setMaximumTrackImage:[UIImage ima...
Hi. I am trying to create an iphone app that has a pickerview,
and when a pickerview option is selected, it plays the appropriate
video file..
I have used various codes to populate a pickerview with an array,
and various examples to play a video, however I can't figure out how
to combine the two. (I'm a little new...or a lot ne...
My application builds its user interface and a core data model through code (no .xib .nib or .xcdatamodel files).
I'm having trouble finding documentation on how to bind core data entity attributes (in an NSManagedObject) with the object properties of a UIView or UIViewControler such that the two are kept synchronized with each other.
...
Ok I have a UIWebView and a text field on a very simple viewcontroller (fresh project for testing). The webview opens up google.com on load and when the text field becomes first responder, I have the webview resizing so the content doesn't display underneath the keyboard. The resize is fine, but it appears the content of the control is s...
when i clikc the serach button i can see the new data behind but i have to click on screen or any other button to load the new data .. is it possible to see new data just when search button goes down
i am doing this when serach button is cliked
[self.tableView reloadData];
searchBar.text = @"";
i think somehow its cause of overlay :(...
Hi, everyone,
I am writing the iPhone application and I would like to ask about the the passing parameters in objective C.
I create 2 view controller. In the first one, I have a button, when a user press the button, it will call the -(IBAction) pressButton (user-defined), and after 5-6 second (have to process and retrieve the data in ...
I am working with creating a simple iPhone app to show a map and some labels, however the MKMapView likes being centered when I put it in the interface builder.
I am very new to this, so i apologize for my ignorance.
I cannot seem to find a way to move the MKMapView from its centered position. I can scale the edges, however the scalin...
I'm creating an iPhone application that gets the user to drop a pin where ever they want. After they drop the pin the user then clicks on it and i want it to show the location of the pin in the call out as the subtitle.
I have the mapview set up as well as the call out working and also the user is able to drop the pin where ever they w...
Hi friends,
I have to show a image near my header section of tableview with header title.Can anybody suggest the best way of doing it?
Thanks in advance for your suggestion.
Regards,
sathish
...
Hi all,
I want to ask about your practices to keep your third-party libraries up-to-date easily.
In my iPhone project, I use quite a lot third-party libs (like TouchXML, JSON, RegexKit, YAJL, MGTwitterEngine...). Most of them is stored in GitHub and their version, especially MGTwitterEngine, change quite rapidly (because of adding new f...
I am an objective C newb and relative programming novice in general, so your patience is appreciated. Inside a View Based Application template I am pulling this code out of myNameViewController.m and trying to insert it into a custom class. Everything transitions fine except this: [self.view addSubview:myImage]; I gather this is now c...
I've put an MKMapView in a view at certain x-y coordinates (x:25 y:120) at a size that's about a third of the view tall and fills much of the width (w:275, h:150). There are other elements in the view, mostly labels and buttons.
When looking at it after having it appear [edited to add: while running the app in the simulator] (pushed ont...