I want to set an own background CALayer of an layer (or fake it) to make a Flip-effekt of 2 Layers. I know there is this UIView animation called UIModalTransitionStyleFlipHorizontal/Vertical. How is this possible with CALayers/CAAnimation?
Could i overlay 2 Layers and rotate the back layer?
Thank you
...
Can my app get the current status of the Keyboard Click setting?
Or even better is there a way to turn off Keyboard Clicks while my app is running?
...
I tried to search an answer for this but couldn't find one.
My iPhone application needs to access the Photo associated with the contact in the phonebook. However, it also needs to make sure that every time application is launched, it verifies that the photo is the same.
So, in essence, I am trying to access the photo used by contacts ...
I have stored the videos and the thumbnail images of the videos in Documents folder. And I have given the path in plist. In plist I took an array and I added directories to the array.
And in the dictionary I stored the image path
/Users/srikanth/Library/Application Support/iPhone Simulator/User/Applications/9E6E8B22-C946-4442-9209-75B...
I have the following path in NSString *path1,
/Users/srikanth/Library/Application Support/iPhone Simulator/User/Applications/9E6E8B22-C946-4442-9209-75BB0E924434/Documents/snook.jpg
How can I show the image snook.jpg.
I need it to show in UITableViewCell for
cell.imageView.image
if path1 has the path. I used the following to...
Hi,
I created a custom UIButton like this
@interface CustomButton : UIButton {
NSString *firstLine;
NSString *secondLine;
}
@property (nonatomic, retain) NSString *firstLine;
@property (nonatomic, retain) NSString *secondLine;
@end
CustomButton* rightButton = [CustomButton buttonWithType:UIButtonTypeDetailDisclosure];
rightB...
I have iPhone (iPhoneOS 3.x) OpenGL ES app that:
can be in landscape/portrait orientation
can be with/without status bar shown
I do this by changing status bar orientation and hidden state, then updating OpenGL view frame so it won't overlap status bar and setting projection matrix appropriately.
OpenGL view is in portrait ori...
Hi,
I'm testing out the MapKit framework on the iPhone and would really much like to switch the standard pin that displays a location to an image called "location.png".
How can I modify my code to allow that?
Maincontroller
- (void)viewDidLoad
{
[super viewDidLoad];
//
// Set the map center
//
CLLocationCoordinat...
I have a UISearchBar added as my table header with the following code.
searchBar = [[UISearchBar alloc] initWithFrame:self.tableView.bounds];
searchBar.tintColor = [UIColor colorWithWhite:185.0/255 alpha:1.0];
[searchBar sizeToFit];
self.tableView.tableHeaderView = searchBar;
Then I set my UISearchDisplayController up as follows.
sea...
I am banging my head on the wall here due to this problem:
When I create a UIImageView this view has a certain orientation and size. Lets call this state "A".
This view responds to taps. It can be dragged around the screen.
At some point in the code I apply a CGAffineTransform to the view. Does not matter if the affine is a scale, a r...
Is it possible to return to my app once a phone link (tel:) has been clicked, and opened using
[[UIApplication sharedApplication] openURL:xyz]
For example, when the user ends the call?
Thanks
...
Is it possible to determine a row's detailTextLabel based on an indexPath in didSelectRowAtIndexPath?
I want to be able to open a phone link using
[[UIApplication sharedApplication] openURL:xyz]
if the cell has the detail text label "phone".
Is this possible?
Thanks
...
I have a custom UIImageView class that creates thumbnails (UIImageView) and each thumbnail has a label.
The label is created by another class. The label class creates a UIImageView and a UITextView on top of it.
This is the main thumbnail class' init method:
- (id)initWithFrame:(CGRect)frame
{
if ([super initWithFrame:frame] == ni...
Hi,
Does somebody have a good example of adding an overlay view (that covers the whole screen) with an activity indicator in the middle?
TIA
...
I would like to duplicate the view switching functionality found in mobile safari's tab feature. I have implemented the scrollview containing the view screenshots, however, when a view is selected how would I duplicate the zoom animation and the title and toolbars appearing and vice-versa?
...
Hi, I am trying to send method invocations from JavaScript to Objective-C and vice versa. Everything works fine for window.location triggered urls, which are catched by shouldStartLoadWithRequest. Now if I try to use an AJAX call instead, shouldStartLoadWithRequest is not called.
Is there a way to do this? Mainly I do not want to be rest...
Here is what i would like to do:
User enters a search term into the UISearchBar
handleSearchForTerm: method creates a NSURLConnection to webservice to retrieve data
In connectionDidFinishLoading, parse the JSON and refresh the tableView with results.
I can only get the search display controller to work when i pre-populate the table v...
Hi,
I'm using NSKeyedArchiver to persist multiple objects in my application. The persistence is working fine, but I can't find a way to delete a specific object from the file. How do I delete this object programmatically?
Thanks,
Teja
...
I have a video in applications documents folder. I need it to be saved in camera roll. So, I used UISaveVideoAtPathToSavedPhotosAlbum method to save it in camera roll. It's working and I can see the video added to camera roll.
But, the problem is every time I execute the application with same video(with same file name), it is added an...
Hello...
Fortunately our first application is in App Store now..
And in my itunesconnect account some of the fields are editable like screenshots, support url etc..
So, my question is if I update some of my screenshots or if I update the support url field when it will be reflects to itunes ?
Or it will directly reflects once I update...