how to use tap gesture in pageBased application for other functionality by not using for swiping of pages

I am using a page based application for one of my apps.In this there is scenario where if v tap once it swipes to next page.

What my requirement is i dont want this tap gesture for swiping of pages,instead i want this tap gesture to be used for some other functionality like once tap it shd zoom in or else if i tap some other tab bar should appear..

I know we can remove this tap gesture in viewdidload method by code.But i dont want to remove this gesture instead i want to use this Tap gesture for other functionality for example like zoomin and so on.So anyone tel me is this possible????If it is possible how can be achieve it???can anyone tel me by code???If its not possible then what are the other alternative????


I think you can implement something like this:

- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event {
    UITouch *touch = [touches anyObject];
        if ([touch tapCount] == 2) {
            //your code here
    //other code

Need Your Help

mysqli_connect From Included File Not Working

php mysql

I have this mysqli_connect on a file named config.php :

Keep focus on an application

c# .net

I have written an application which has a modal form. How can I ensure that this form does not lose the focus even when an other application is started?

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.