Hi all,
I have a tabBarViewController and when in tab 0 the user is able to turn the device horizontally and landscapeViewController is displayed. In the landscape view controller I need to be able to load different full screen views, using buttons, depending on what the user wishes to see. It works to a point but then gets mixed up. Ba...
I have a fairly simple view hierarchy in my iPad app.
Window -> RootView -> TableView / DetailView
TableView and DetailView are siblings added as subviews (as per a solution to a previous question).
On launch TableView is in front. When you select a cell then method in the app delegate is called which swap them out putting DetailView ...
What are the most useful plugins that you have found for Xcode? I'm looking for ones that help to cut your development times.
I'm already using ciaran's xcode-bracket-matcher myself, but I would be interested in any others that people have found to be helpful
...
I'm trying to load pictures in iPhone Photos app, then save the selected pictures in to my app's folder, using ALAssetsLibrary, and have two issues:
1. the image file saved to disk is much bigger then original files in Photos app, for example, a picture is 2.8MB, but after saved to my app's folder, it's 6.4MB, following is the code:
...
Hi all
This is about an iPhone App using MKMapKit:
I created a custom MKAnnotationView for a draggable Annotation. I want to create a custom animation. I set a custom pin image and the annotation is draggable (which both is not shown here, it happens in the mapview) with the following code:
- (void) movePinUpFinished {
[super se...
Hi,
I'm struggling with the basics on how to build views in Monotouch and how to tie them to C# code.
I know how to create an outlet for an UIViews that are on the Main window. But how can I create an oulet for an UIView that is located on a different view?
The main view has an AppDelegate class I can bind the outlets to. But there'...
I have a standard table view, with a UISearchController implemented via a NIB. I want to mimic what happens when the user clicks "Cancel" in the search bar - the normal behaviour is that the search bar goes away and the table returns to its original state. Basically, I want to have the same happen when the user selects an item that appea...
I am looking for a non private way to find the position of the Cursor or Caret (blinking bar) in a UITextView preferably as a CGPoint.
There may be a question like this already but it does not provide a definitive way for doing it.
And,
I do not mean the NSRange of the selected area.
...
When using the above, it scrolls the new view vertically up the screen, and dismisses it by scrolling the view down the screen. Why is this, and how do I overcome this? (Especially since it should be a horizontal animation)
My code is as follows:
- (IBAction)infoButtonPressed:(id)sender {
InfoViewController *infoViewController = [[Info...
I'm having trouble getting this code to set the prompt:
// Create a PeoplePicker
ABPeoplePickerNavigationController *objPeoplePicker = [[ABPeoplePickerNavigationController alloc] init];
[objPeoplePicker setPeoplePickerDelegate:self];
// Customize colors
objPeoplePicker.topViewController.navigationController.navigationBar.tintColor = [U...
Is it known how to get the keypad interface from the Phone and Skype apps? This is distinct from the modal keypad view that appears when a UITextField becomes the first responder.
Is this just a UIView that the developers of Skype laid out themselves in IB, complete with custom graphics to get the square shape of each button? Or is ther...
Ive got an iPhone/iPad universal application and I wanted to have a custom navigation bar where the top half of the nav bar contained our companies logos, and the bottom half was the standard navigation bar.
I figured out how to do this, showing in the code below, but my UIButton "logosButton" doesnt always respond to being clicked, it ...
Hi is there any way of changing the colour of keyboard or we have to get some custom keyboard for it , any suggetsions ..
thanks in advance
...
Every time I load a new page with UIWebView the before loaded page is shown for a short time.
How can I clear that cache? Another possibility would be to dealloc UIWebview. I tried that but than my UIWebView is always "empty". How should the alloc and dealloc be done in this case?
I noticed that the UIWebView is consuming about 10 MB ...
I want to use the AVAseetExportSession class to export the file from ipod liabrary to appliation temp.
AVAssetExportSession *exporter = [[AVAssetExportSession alloc]
initWithAsset: fileAsset
presetName: AVAssetExportPassthrough];
if i want to you the AVAssetExportPassthroug...
I'd like to popup a calendar control (like the month view from the calendar provided by Apple), which can be used as date picker. I've already made some research, but I'm asking if I missed something out.
There are several free available libraries:
* Kal
* GCCalendar
* TapkuLibrary
* iphonecal
* iphone-gcal
Also there is one comme...
I'm trying to draw some lines onto a MKMapView like in this example. But somehow the lines are not being drawn in my iPad app though it's pretty much the same as in the example. Are there some kind of common pitfalls I should think about? It's been driving me nuts for the last two days.
Thanks
–f
...
I have several UILabels in table cells, and I thought I could set them to be opaque and then setBackgroundColor:[UIColor groupTableViewBackgroundColor]] to make them have the table background. The grouped table background color in the UILabel isn't aligned with the table's background, though, so the lines are broken. Is there any way to ...
Having just upgraded to iOS 4.1 (Xcode 3.2.4) I am getting warnings when using the static analyser that I don't think I was previously getting when using 3.2.3
Now the project compiles just fine, is this something that has changed or do I have something set wrong?
NB: I have the build results window set to "All Messages"
EDIT:
I th...
I have created a string that depends on what the user inputs into the textfield:
NSString *book = [[NSString alloc] initWithFormat:@"%@%@", bookTitle.text, afterbook];
Then this string is part of a bigger string:
NSString *msg = [[NSString alloc] initWithFormat:@"%@%@%@%@%@%@%@%@%@%@%@%@%@%@", lastname,
firstname, secondfirstn...