Category:1913 births
Category:1987 deaths
Category:Scientists from Andhra Pradesh
Category:20th-century Indian biologists
Category:20th-century Indian zoologists1. Field of the Invention
The present invention relates to a method and apparatus for a virtual reality system. More particularly, the present invention relates to a method and apparatus for a virtual reality system using a camera.
2. Description of the Related Art
Virtual reality (VR) systems present simulated environments and experiences to users through various displays and other technologies. Virtual reality can be a computer-simulated environment that projects 3-D images and sounds onto a user's head-mounted display, or it can be an immersive experience generated by manipulating a user's senses, such as sight, hearing, and touch.Q:
UIScrollView does not display (on simulator and device)
I am building an app for iOS, and I have a table view which is displayed properly and then I have a scroll view to display things below the table view. I add the scroll view to the table view with code below:
// Add scroll view
tableView.contentInset = UIEdgeInsetsMake(0, 50, 0, 0)
scrollView = UIScrollView(frame: CGRectMake(0, 0, 320, 470))
scrollView.contentSize = CGSizeMake(320, 470)
scrollView.backgroundColor = UIColor.whiteColor()
scrollView.isPagingEnabled = true
scrollView.delegate = self
scrollView.isUserInteractionEnabled = true
tableView.addSubview(scrollView)
scrollView.userInteractionEnabled = true
But when I run the code, it is not being displayed. What should I do to solve the problem?
A:
Try this.
tableView.contentInset = UIEdgeInsetsMake(0, 50, 0, 0)
scrollView = UIScrollView(frame: CGRectMake(0, 0, 320, 470))
scrollView.contentSize = CGSizeMake(320, 470)
scrollView.isPagingEnabled = true
scrollView.delegate = self
scrollView.isUserInteractionEnabled = true
tableView.addSubview(scrollView)
scrollView.isUserInteractionEnabled = true
I hope this will be359ba680
Related links:
Comments