The task: create an image from a PDF file as fast background preview for my PDF displayed with the CATiledLayer (slower, higher resolution).
Problem: I get pretty fast an error warning on my iPad "Received memory warning. Level=1" and shortly after "Received memory warning. Level=2" .. then the app crashes.
- (void) drawSinglePage:(CAL...
I have a xib file of type View XIB. In it I have a View controller, and in the View controller I have a label.
I have long text that I want to break, but it doesn't - it gets truncated.
I tried this solution - I did it in the attribute window - but it doesn't help.
...
Hoe to get location in view using
-(BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldReceiveTouch:(UITouch *)touch
{
} method??
...
How can I force my application to launch an UISplitViewController in landscape mode?
...
I have designed an application for iphone/ipad.My problem is that I am using single RootViewController for showing Category and Subcategory.
//Pop me to RootViewController Category Section From SubCategory in iphone/ipad
[self.navigationController popViewControllerAnimated: YES];
But in ipad my searchbar get hidden under the navigation...
NSPredicate *predicate = [NSPredicate predicateWithFormat:@"List.name == 'kristof\\'s list'"];
Works as expected.
However I want do something like this:
NSString *listName = [[[detailItem valueForKey:@"name"] description] stringByReplacingOccurrencesOfString:@"'" withString:@"\\'"];
NSPredicate *predicate = [NSPredicate predicate...
This is perplexing to me. I want to change the frame of a UIScrollView upon orientation change:
if (orientation == UIDeviceOrientationLandscapeLeft || orientation == UIDeviceOrientationLandscapeRight){
self.myScrollView.frame = CGRectMake(40, 40, 984, 200);
for (UIView* view in [self.myScrollView subviews]){
...
For the iPad/iPhone can I detect when the user has the keypad lock turned on for inactivity protection?
If you have sensitive information in an application you will still often cache username/password and it is too disruptive to ask for a full username/password challenge after each period of inactivity.
I want to ensure that if the...
Which part of the app is it that "triggers" the iPad app as it's own app as opposed to running the iPhone version in a universal binary?
What do I need to change to make my app Universal, after clicking "Upgrade current Target for iPad"? My app runs on outside of the simulator, but my images are too small and my text is out of place. Wh...
I am writing an iPad application which uses a menu from a popover to change the view displayed. I have a root view controller which is always present and changes its content view to the sub view controllers, e.g Home, News, etc...
Now here's the problem: Let's say I'm on the Home controller in portrait mode, then go to the news controll...
Hi everybody!
I have a view that contains a ScrollView opening two xibs.
There is a button on a Xib contained in ScrollView.
I want that after clicking the button, open a new view outside of the ScrollView.
But I can not open a new view outside the Scrollview. = /
Any suggestions?
Thanks.
...
Is there a standard way to register either left or right swipes of the page and respond accordingly?
...
Hello,
I have a view (nib) loading offscreen in a uiscrollview. I want the movie in this view to only start playing once it is visible but the viewdidappear fires even the view is off screen. So the movie is playing even though you can't see it.
Is there a way to understand what view is actually visible that does not involve the uiscro...
Hi, I'm trying to set up a CTFrame that exactly matches my UITextView's text format in iPad.
First of all, I converted UITextView's text to an attributed string. Then I set up a width and a height of drawing box in which Core Text will draw text.
I succeeded to draw text using Core Text, but UITextView and Core Text show slightly differe...
hi,
someone is using .sqlite file, someone is using .sql file, someone is using .rdb file...Which one is the best among this one? is there differences among them?
...
Hi
is there any way to release rootViewController in UInavigationController and set new view Controller as a root View Controller ???
...
i want to access user location using core location frameworks but don't show message to user that "allow to access your location" which ask at staring of application.
is there any way to hide this messge of core location frameworks.
thanks in advance.
...
I have a UINavigationController controlling a stack of UIViewControllers. When I push a certain UITableViewController onto the stack, I find that the top row of its UITableView is hidden behind the UINavigationBar.
This problem only happens on the iPad, not the iPhone. I am using the same stack on both.
Also it only happens on one of m...
Hi, we are developing an offline city map application for iPad, using Cloudmade SDKs. I'm curious, is there are any other SDKs which could be used for offline applications ?
...
Hi,
right now im working on an application that accepts cgimageref, process the pixels of the image and returns the processed cgimageref. To check how it works i simply wrote a code to pass the cgimageref and expects the same image to be returned with out being processed. But the problem is that im not getting back the exact image. the r...