Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9212109
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T01:27:02+00:00 2026-06-18T01:27:02+00:00

I have this following problem which I can’t seem solve: In my top view

  • 0

I have this following problem which I can’t seem solve:

In my top view (a menu bar), I have a UIButton on which I want the user to press and then drag and drop an object (OpenGL object that spawns fine) to the view under the menu bar (an EAGLView). My problem is that I cannot pass the touch location of where the user presses down on the button to the EAGLView.

I have tried several solutions :

  1. Assign a selector to the Drag-In-Touch function of the UIButton. This allows me to get the touch position I could want, but this location only stays in bounds of the view holding the UIButton (the menu bar)

  2. Override the touchesBegan/Moved/Ended of the UIButton so they use the touches of the nextResponder.nextResponder (making this the EAGLView). This seemed to work for the touchesBegan, but the second I try to move around, touchesMoved is called once and then stops.

If any of you could point me to any possible ways of accomplishing what I want, I’d be most grateful.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T01:27:03+00:00Added an answer on June 18, 2026 at 1:27 am

    Not completely answering the question here, but what you want could be solved by adding UIviews instead of UIButtons and dragging them on screen using a Pangesture recognizer. Then, you simply load or place the object you want under this view at the moment the user ends the pan/drag motion.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following problem to solve and I can't seem to be able
I have the following problem, on which I can't seem to find an answer...
Good day, I have this problem with Html.DropDownListFor which I can't seem to work
I have the following problem. I am making this website you can see in
Hey guy i have following problem: I have this line of code which includes
Consider the following problem: We have two sequences of cargo loads which can contain
I have the following problem: I have this multi-level array (nested array) which contains
Never thought I'd have this problem :) The following snippet of code works in
I have been working on the following problem from this book . A certain
Hello i have the following problem, I record a video using red5 like this:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.